forked from mirrors/nixpkgs
Merge pull request #199617 from DeeUnderscore/fix/picard
This commit is contained in:
commit
ef8653a53b
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue