patchance: init at 1.0.0 (#222623)

Fixes #194023
This commit is contained in:
Orivej Desh
2023-03-29 01:54:21 +00:00
committed by GitHub
parent 1ff621cf56
commit ee0efdd6a0
2 changed files with 41 additions and 0 deletions
@@ -0,0 +1,37 @@
{ lib, fetchurl, buildPythonApplication, pyqt5, qttools, which }:
buildPythonApplication rec {
pname = "patchance";
version = "1.0.0";
src = fetchurl {
url = "https://github.com/Houston4444/Patchance/releases/download/v${version}/Patchance-${version}-source.tar.gz";
sha256 = "sha256-8Zn6xcDv4hBFXnaXK9xslYEB8uHEfIP+1NKvcPAyHj0=";
};
format = "other";
nativeBuildInputs = [
pyqt5 # pyuic5 and pyrcc5 to build resources.
qttools # lrelease to build translations.
which # which to find lrelease.
];
propagatedBuildInputs = [ pyqt5 ];
dontWrapQtApps = true; # The program is a python script.
installFlags = [ "PREFIX=$(out)" ];
postFixup = ''
wrapPythonProgramsIn "$out/share/patchance/src" "$out $pythonPath"
'';
meta = with lib; {
homepage = "https://github.com/Houston4444/Patchance";
description = "JACK Patchbay GUI";
license = licenses.gpl2;
maintainers = with maintainers; [ orivej ];
platforms = platforms.linux;
};
}
+4
View File
@@ -10926,6 +10926,10 @@ with pkgs;
patchage = callPackage ../applications/audio/patchage { };
patchance = python3Packages.callPackage ../applications/audio/patchance {
inherit (qt5) qttools;
};
patatt = callPackage ../development/tools/patatt { };
pcapfix = callPackage ../tools/networking/pcapfix { };