picard: Fix inputs
Add qt5.qtwayland - for the wrapper. Put most qt5 inputs in `buildInputs` - not `nativeBuildInputs`. Remove `fetchpatch` unused argument.
This commit is contained in:
parent
217bf86dc0
commit
f1a6437259
|
@ -1,7 +1,6 @@
|
||||||
{ lib
|
{ lib
|
||||||
, python3Packages
|
, python3Packages
|
||||||
, fetchFromGitHub
|
, fetchFromGitHub
|
||||||
, fetchpatch
|
|
||||||
, gettext
|
, gettext
|
||||||
, chromaprint
|
, chromaprint
|
||||||
, qt5
|
, qt5
|
||||||
|
@ -28,16 +27,22 @@ pythonPackages.buildPythonApplication rec {
|
||||||
sha256 = "sha256-ukqlAXGaqX89U77cM9Ux0RYquT31Ho8ri1Ue7S3+MwQ=";
|
sha256 = "sha256-ukqlAXGaqX89U77cM9Ux0RYquT31Ho8ri1Ue7S3+MwQ=";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [ gettext qt5.wrapQtAppsHook qt5.qtbase ]
|
nativeBuildInputs = [
|
||||||
++ lib.optionals (pyqt5.multimediaEnabled) [
|
gettext
|
||||||
qt5.qtmultimedia.bin
|
qt5.wrapQtAppsHook
|
||||||
|
] ++ lib.optionals (pyqt5.multimediaEnabled) [
|
||||||
gst_all_1.gst-libav
|
gst_all_1.gst-libav
|
||||||
gst_all_1.gst-plugins-base
|
gst_all_1.gst-plugins-base
|
||||||
gst_all_1.gst-plugins-good
|
gst_all_1.gst-plugins-good
|
||||||
gst_all_1.gst-vaapi
|
gst_all_1.gst-vaapi
|
||||||
gst_all_1.gstreamer
|
gst_all_1.gstreamer
|
||||||
]
|
];
|
||||||
;
|
buildInputs = [
|
||||||
|
qt5.qtbase
|
||||||
|
qt5.qtwayland
|
||||||
|
] ++ lib.optionals (pyqt5.multimediaEnabled) [
|
||||||
|
qt5.qtmultimedia.bin
|
||||||
|
];
|
||||||
|
|
||||||
propagatedBuildInputs = with pythonPackages; [
|
propagatedBuildInputs = with pythonPackages; [
|
||||||
chromaprint
|
chromaprint
|
||||||
|
|
Loading…
Reference in a new issue