···1818 meta = with stdenv.lib; {
1919 description = "Tool for storing/restoring JACK and/or ALSA connections to/from cml files";
2020 longDescription = ''
2121- Aj-snapshot is a small program that can be used to make snapshots of the connections made between JACK and/or ALSA clients.
2222- Because JACK can provide both audio and MIDI support to programs, aj-snapshot can store both types of connections for JACK.
2323- ALSA, on the other hand, only provides routing facilities for MIDI clients.
2121+ Aj-snapshot is a small program that can be used to make snapshots of the connections made between JACK and/or ALSA clients.
2222+ Because JACK can provide both audio and MIDI support to programs, aj-snapshot can store both types of connections for JACK.
2323+ ALSA, on the other hand, only provides routing facilities for MIDI clients.
2424 You can also run aj-snapshot in daemon mode if you want to have your connections continually restored.
2525 '';
2626
···2727 # to the `RUNPATH` of dispatcher libraries `dlopen()` ing OpenGL drivers.
2828 # `RUNPATH` doesn't propagate throughout the whole application, but only
2929 # from the module performing the `dlopen()`.
3030- #
3030+ #
3131 # Apitrace wraps programs by running them with `LD_PRELOAD` pointing to `.so`
3232 # files in $out/lib/apitrace/wrappers.
3333- #
3333+ #
3434 # Theses wrappers effectively wrap the `dlopen()` calls from `libglvnd`
3535 # and other dispatcher libraries, and run `dlopen()` by themselves.
3636- #
3636+ #
3737 # As `RUNPATH` doesn't propagate through the whole library, and they're now the
3838 # library doing the real `dlopen()`, they also need to have
3939 # `/run-opengl-driver[-32]` added to their `RUNPATH`.
···11-{ stdenv , fetchFromGitHub , python3 , makeWrapper }:
11+{ stdenv , fetchFromGitHub , python3 , makeWrapper }:
2233-let pythonEnv = python3.withPackages(ps: [ ps.tkinter ps.pyusb ]);
44-in stdenv.mkDerivation rec {
33+let pythonEnv = python3.withPackages(ps: [ ps.tkinter ps.pyusb ]);
44+in stdenv.mkDerivation rec {
55 pname = "fusee-interfacee-tk";
66 version = "1.0.1";
7788- src = fetchFromGitHub {
88+ src = fetchFromGitHub {
99 owner = "nh-server";
1010 repo = pname;
1111- rev = "V${version}";
1111+ rev = "V${version}";
1212 sha256 = "0ngwbwsj999flprv14xvhk7lp51nprrvcnlbnbk6y4qx5casm5md";
1313 };
14141515 nativeBuildInputs = [ makeWrapper ];
1616 buildInputs = [ pythonEnv ];
17171818- installPhase = ''
1818+ installPhase = ''
1919 mkdir -p $out/bin
2020-2121- # The program isn't just called app, so I'm renaming it based on the repo name
2020+2121+ # The program isn't just called app, so I'm renaming it based on the repo name
2222 # It also isn't a standard program, so we need to append the shebang to the top
2323- echo "#!${pythonEnv.interpreter}" > $out/bin/fusee-interfacee-tk
2323+ echo "#!${pythonEnv.interpreter}" > $out/bin/fusee-interfacee-tk
2424 cat app.py >> $out/bin/fusee-interfacee-tk
2525- chmod +x $out/bin/fusee-interfacee-tk
2626-2727- # app.py depends on these to run
2828- cp *.py $out/bin/
2525+ chmod +x $out/bin/fusee-interfacee-tk
2626+2727+ # app.py depends on these to run
2828+ cp *.py $out/bin/
2929 cp intermezzo.bin $out/bin/intermezzo.bin
3030 '';
31313232- meta = with stdenv.lib; {
3232+ meta = with stdenv.lib; {
3333 homepage = "https://github.com/nh-server/fusee-interfacee-tk";
3434 description = "A tool to send .bin files to a Nintendo Switch in RCM mode";
3535- 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.
3535+ 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.
3636 Must be run as sudo.";
3737 maintainers = with maintainers; [ kristian-brucaj ];
3838 license = licenses.gpl2;
3939 };
4040-}
4040+}