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,9 +22,13 @@ python3Packages.buildPythonApplication rec {
pyqt5
]);
doCheck = false; # there are no tests
preFixup = ''
makeWrapperArgs+=("''${qtWrapperArgs[@]}")
'';
dontStrip = true; # we are not generating any binaries
doCheck = false; # there are no tests
dontStrip = true; # we are not generating any binaries
meta = with stdenv.lib; {
description = "An audio tag editor similar to the Windows program, Mp3tag";
@ -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 { };