puddletag: fix wrapping

This commit is contained in:
Peter Hoeg 2020-10-13 14:17:29 +08:00
parent 7c4305be84
commit 3694212f4d
2 changed files with 10 additions and 5 deletions

View File

@ -1,4 +1,4 @@
{ stdenv, fetchFromGitHub, python3Packages, chromaprint }:
{ stdenv, fetchFromGitHub, python3Packages, wrapQtAppsHook, chromaprint }:
python3Packages.buildPythonApplication rec {
pname = "puddletag";
@ -13,6 +13,8 @@ python3Packages.buildPythonApplication rec {
sourceRoot = "source/source";
nativeBuildInputs = [ wrapQtAppsHook ];
propagatedBuildInputs = [ chromaprint ] ++ (with python3Packages; [
configobj
mutagen
@ -20,6 +22,10 @@ python3Packages.buildPythonApplication rec {
pyqt5
]);
preFixup = ''
makeWrapperArgs+=("''${qtWrapperArgs[@]}")
'';
doCheck = false; # there are no tests
dontStrip = true; # we are not generating any binaries
@ -30,6 +36,5 @@ python3Packages.buildPythonApplication rec {
license = licenses.gpl3;
maintainers = with maintainers; [ peterhoeg ];
platforms = platforms.linux;
broken = true; # Needs Qt wrapping
};
}

View File

@ -20730,7 +20730,7 @@ in
gradio = callPackage ../applications/audio/gradio { };
puddletag = callPackage ../applications/audio/puddletag { };
puddletag = libsForQt5.callPackage ../applications/audio/puddletag { };
w_scan = callPackage ../applications/video/w_scan { };