4 buildPythonApplication,
12 buildPythonApplication rec {
17 url = "https://github.com/Houston4444/Patchance/releases/download/v${version}/Patchance-${version}-source.tar.gz";
18 sha256 = "sha256-wlkEKkPH2C/y7TQicIVycWbtLUdX2hICcUWi7nFN51w=";
24 pyqt5 # pyuic5 and pyrcc5 to build resources.
25 qt5.qttools # lrelease to build translations.
26 which # which to find lrelease.
33 propagatedBuildInputs = [ pyqt5 ];
35 dontWrapQtApps = true; # The program is a python script.
37 installFlags = [ "PREFIX=$(out)" ];
43 (lib.makeLibraryPath [ libjack2 ])
47 makeWrapperArgs+=("''${qtWrapperArgs[@]}")
51 wrapPythonProgramsIn "$out/share/patchance/src" "$out $pythonPath"
52 for file in $out/bin/*; do
58 homepage = "https://github.com/Houston4444/Patchance";
59 description = "JACK Patchbay GUI";
60 mainProgram = "patchance";
61 license = licenses.gpl2;
62 maintainers = with maintainers; [ orivej ];
63 platforms = platforms.linux;