fusee-interfacee-tk: init at V1.0.0
all-packages: Add fusee-interfacee-tk
This commit is contained in:
parent
e293cf9117
commit
5ece342d0f
40
pkgs/applications/misc/fusee-interfacee-tk/default.nix
Normal file
40
pkgs/applications/misc/fusee-interfacee-tk/default.nix
Normal file
@ -0,0 +1,40 @@
|
|||||||
|
{ stdenv , fetchFromGitHub , python3 , makeWrapper }:
|
||||||
|
|
||||||
|
let pythonEnv = python3.withPackages(ps: [ ps.tkinter ps.pyusb ]);
|
||||||
|
in stdenv.mkDerivation rec {
|
||||||
|
pname = "fusee-interfacee-tk";
|
||||||
|
version = "1.0.0";
|
||||||
|
|
||||||
|
src = fetchFromGitHub {
|
||||||
|
owner = "nh-server";
|
||||||
|
repo = pname;
|
||||||
|
rev = "V${version}";
|
||||||
|
sha256 = "0ycsxv71b5yvkcawxmcnmywxfvn8fdg1lyq71xdw7qrskxv5fgq7";
|
||||||
|
};
|
||||||
|
|
||||||
|
nativeBuildInputs = [ makeWrapper ];
|
||||||
|
buildInputs = [ pythonEnv ];
|
||||||
|
|
||||||
|
installPhase = ''
|
||||||
|
mkdir -p $out/bin
|
||||||
|
|
||||||
|
# The program isn't just called app, so I'm renaming it based on the repo name
|
||||||
|
# It also isn't a standard program, so we need to append the shebang to the top
|
||||||
|
echo "#!${pythonEnv.interpreter}" > $out/bin/fusee-interfacee-tk
|
||||||
|
cat app.py >> $out/bin/fusee-interfacee-tk
|
||||||
|
chmod +x $out/bin/fusee-interfacee-tk
|
||||||
|
|
||||||
|
# app.py depends on these to run
|
||||||
|
cp *.py $out/bin/
|
||||||
|
cp intermezzo.bin $out/bin/intermezzo.bin
|
||||||
|
'';
|
||||||
|
|
||||||
|
meta = with stdenv.lib; {
|
||||||
|
homepage = "https://github.com/nh-server/fusee-interfacee-tk";
|
||||||
|
description = "A tool to send .bin files to a Nintendo Switch in RCM mode";
|
||||||
|
longDescription = "A mod of falquinhos Fusée Launcher for use with Nintendo Homebrew Switch Guide. It also adds the ability to mount SD while in RCM.
|
||||||
|
Must be run as sudo.";
|
||||||
|
maintainers = with maintainers; [ kristian-brucaj ];
|
||||||
|
license = licenses.gpl2;
|
||||||
|
};
|
||||||
|
}
|
@ -3453,6 +3453,8 @@ in
|
|||||||
fuse-7z-ng = callPackage ../tools/filesystems/fuse-7z-ng { };
|
fuse-7z-ng = callPackage ../tools/filesystems/fuse-7z-ng { };
|
||||||
|
|
||||||
fuse-overlayfs = callPackage ../tools/filesystems/fuse-overlayfs {};
|
fuse-overlayfs = callPackage ../tools/filesystems/fuse-overlayfs {};
|
||||||
|
|
||||||
|
fusee-interfacee-tk = callPackage ../applications/misc/fusee-interfacee-tk { };
|
||||||
|
|
||||||
fusee-launcher = callPackage ../development/tools/fusee-launcher { };
|
fusee-launcher = callPackage ../development/tools/fusee-launcher { };
|
||||||
|
|
||||||
@ -6680,6 +6682,8 @@ in
|
|||||||
|
|
||||||
Sylk = callPackage ../applications/networking/Sylk {};
|
Sylk = callPackage ../applications/networking/Sylk {};
|
||||||
|
|
||||||
|
otter-browser = qt5.callPackage ../applications/networking/browsers/otter {};
|
||||||
|
|
||||||
privoxy = callPackage ../tools/networking/privoxy {
|
privoxy = callPackage ../tools/networking/privoxy {
|
||||||
w3m = w3m-batch;
|
w3m = w3m-batch;
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user