diff --git a/pkgs/applications/audio/patchance/default.nix b/pkgs/by-name/pa/patchance/package.nix similarity index 72% rename from pkgs/applications/audio/patchance/default.nix rename to pkgs/by-name/pa/patchance/package.nix index c527bc7037c2..dbe985fd808f 100644 --- a/pkgs/applications/audio/patchance/default.nix +++ b/pkgs/by-name/pa/patchance/package.nix @@ -1,27 +1,26 @@ { lib, fetchurl, - buildPythonApplication, + python3Packages, libjack2, - pyqt5, qt5, which, bash, }: -buildPythonApplication rec { +python3Packages.buildPythonApplication rec { pname = "patchance"; version = "1.1.0"; src = fetchurl { url = "https://github.com/Houston4444/Patchance/releases/download/v${version}/Patchance-${version}-source.tar.gz"; - sha256 = "sha256-wlkEKkPH2C/y7TQicIVycWbtLUdX2hICcUWi7nFN51w="; + hash = "sha256-wlkEKkPH2C/y7TQicIVycWbtLUdX2hICcUWi7nFN51w="; }; format = "other"; nativeBuildInputs = [ - pyqt5 # pyuic5 and pyrcc5 to build resources. + python3Packages.pyqt5 # pyuic5 and pyrcc5 to build resources. qt5.qttools # lrelease to build translations. which # which to find lrelease. qt5.wrapQtAppsHook @@ -30,7 +29,7 @@ buildPythonApplication rec { libjack2 bash ]; - propagatedBuildInputs = [ pyqt5 ]; + propagatedBuildInputs = [ python3Packages.pyqt5 ]; dontWrapQtApps = true; # The program is a python script. @@ -54,12 +53,12 @@ buildPythonApplication rec { done ''; - meta = with lib; { + meta = { homepage = "https://github.com/Houston4444/Patchance"; description = "JACK Patchbay GUI"; mainProgram = "patchance"; - license = licenses.gpl2; - maintainers = with maintainers; [ orivej ]; - platforms = platforms.linux; + license = lib.licenses.gpl2; + maintainers = with lib.maintainers; [ orivej ]; + platforms = lib.platforms.linux; }; } diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 2f5ec60f0304..b82f42e5eb62 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -3747,8 +3747,6 @@ with pkgs; patch = gnupatch; - patchance = python3Packages.callPackage ../applications/audio/patchance { }; - pcscliteWithPolkit = pcsclite.override { pname = "pcsclite-with-polkit"; polkitSupport = true;