about summary refs log tree commit diff
path: root/pkgs/applications/audio/picard
diff options
context:
space:
mode:
authorDoron Behar <doron.behar@gmail.com>2023-05-30 10:32:41 +0300
committerDoron Behar <doron.behar@gmail.com>2023-05-30 10:32:43 +0300
commitf1a6437259a395d20d96bbed23c3149a69a847e2 (patch)
tree8c11ea8e16145e3ca81dab145210d5f561bdfdb0 /pkgs/applications/audio/picard
parent217bf86dc01f4b6e407bf7b92a90d3a26455faad (diff)
picard: Fix inputs
Add qt5.qtwayland - for the wrapper.
Put most qt5 inputs in `buildInputs` - not `nativeBuildInputs`.
Remove `fetchpatch` unused argument.
Diffstat (limited to 'pkgs/applications/audio/picard')
-rw-r--r--pkgs/applications/audio/picard/default.nix17
1 files changed, 11 insertions, 6 deletions
diff --git a/pkgs/applications/audio/picard/default.nix b/pkgs/applications/audio/picard/default.nix
index 4e7323b128b37..983457530ad14 100644
--- a/pkgs/applications/audio/picard/default.nix
+++ b/pkgs/applications/audio/picard/default.nix
@@ -1,7 +1,6 @@
 { lib
 , python3Packages
 , fetchFromGitHub
-, fetchpatch
 , gettext
 , chromaprint
 , qt5
@@ -28,16 +27,22 @@ pythonPackages.buildPythonApplication rec {
     sha256 = "sha256-ukqlAXGaqX89U77cM9Ux0RYquT31Ho8ri1Ue7S3+MwQ=";
   };
 
-  nativeBuildInputs = [ gettext qt5.wrapQtAppsHook qt5.qtbase ]
-  ++ lib.optionals (pyqt5.multimediaEnabled) [
-    qt5.qtmultimedia.bin
+  nativeBuildInputs = [
+    gettext
+    qt5.wrapQtAppsHook
+  ] ++ lib.optionals (pyqt5.multimediaEnabled) [
     gst_all_1.gst-libav
     gst_all_1.gst-plugins-base
     gst_all_1.gst-plugins-good
     gst_all_1.gst-vaapi
     gst_all_1.gstreamer
-  ]
-  ;
+  ];
+  buildInputs = [
+    qt5.qtbase
+    qt5.qtwayland
+  ] ++ lib.optionals (pyqt5.multimediaEnabled) [
+    qt5.qtmultimedia.bin
+  ];
 
   propagatedBuildInputs = with pythonPackages; [
     chromaprint