aboutsummaryrefslogtreecommitdiff
path: root/infra/libkookie/nixpkgs/pkgs/applications/audio/puddletag/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'infra/libkookie/nixpkgs/pkgs/applications/audio/puddletag/default.nix')
-rw-r--r--infra/libkookie/nixpkgs/pkgs/applications/audio/puddletag/default.nix13
1 files changed, 9 insertions, 4 deletions
diff --git a/infra/libkookie/nixpkgs/pkgs/applications/audio/puddletag/default.nix b/infra/libkookie/nixpkgs/pkgs/applications/audio/puddletag/default.nix
index 56fcdcc94cd2..55cde08fe871 100644
--- a/infra/libkookie/nixpkgs/pkgs/applications/audio/puddletag/default.nix
+++ b/infra/libkookie/nixpkgs/pkgs/applications/audio/puddletag/default.nix
@@ -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[@]}")
+ '';
+
+ doCheck = false; # there are no tests
- dontStrip = true; # we are not generating any binaries
+ 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
};
}