about summary refs log tree commit diff
path: root/pkgs
diff options
context:
space:
mode:
authorMartin Weinelt <mweinelt@users.noreply.github.com>2022-11-07 02:39:04 +0100
committerGitHub <noreply@github.com>2022-11-07 02:39:04 +0100
commitef8653a53bbaeecee2ea43f5de52c1a1c1214366 (patch)
tree12b7e9455f49d5c623603f239b733e90e3788bd4 /pkgs
parentc87300250fef0c819c0edaa4891cbfd608e17258 (diff)
parent78399b66f1979eb3bc078adc69994ab335ae66fc (diff)
Merge pull request #199617 from DeeUnderscore/fix/picard
Diffstat (limited to 'pkgs')
-rw-r--r--pkgs/applications/audio/picard/default.nix10
1 files changed, 10 insertions, 0 deletions
diff --git a/pkgs/applications/audio/picard/default.nix b/pkgs/applications/audio/picard/default.nix
index ae81b13597e15..9db6656dd38dc 100644
--- a/pkgs/applications/audio/picard/default.nix
+++ b/pkgs/applications/audio/picard/default.nix
@@ -1,6 +1,7 @@
 { lib
 , python3Packages
 , fetchFromGitHub
+, fetchpatch
 , gettext
 , chromaprint
 , qt5
@@ -27,6 +28,15 @@ pythonPackages.buildPythonApplication rec {
     sha256 = "sha256-KUHciIlwaKXvyCCkAzdh1vpe9cunDizrMUl0SoCpxgY=";
   };
 
+  patches = [
+    # fix for tests failing with newer mutagen, remove after >2.8.3
+    # https://tickets.metabrainz.org/browse/PICARD-2583
+    (fetchpatch {
+      url = "https://github.com/metabrainz/picard/commit/76c2dff6b61140bbc7675c9e9f62a086b885e539.patch";
+      hash = "sha256-V1/oq1tEcb1mtqbYAA9o7mJcw16vRO0IK3GGmJkwO1Q=";
+    })
+  ];
+
   nativeBuildInputs = [ gettext qt5.wrapQtAppsHook qt5.qtbase ]
   ++ lib.optionals (pyqt5.multimediaEnabled) [
     qt5.qtmultimedia.bin