summaryrefslogtreecommitdiffstats
path: root/pkgs/applications/audio
diff options
context:
space:
mode:
authorMario Rodas <marsam@users.noreply.github.com>2021-01-06 17:46:45 -0500
committerMario Rodas <marsam@users.noreply.github.com>2021-01-06 17:46:45 -0500
commit92473bf94daf74c4822b668873dfbd41e822308a (patch)
tree2a98dd72f0dc9f39e199cd52998bc2e9d98b2f6e /pkgs/applications/audio
parentb2859274ee157dceef18403a36bc89389b99a940 (diff)
mopidy-local: fix tests for Mopidy≥3.1.0
Diffstat (limited to 'pkgs/applications/audio')
-rw-r--r--pkgs/applications/audio/mopidy/local.nix9
1 files changed, 9 insertions, 0 deletions
diff --git a/pkgs/applications/audio/mopidy/local.nix b/pkgs/applications/audio/mopidy/local.nix
index 6cbb8424d35d..de748ea7b325 100644
--- a/pkgs/applications/audio/mopidy/local.nix
+++ b/pkgs/applications/audio/mopidy/local.nix
@@ -1,6 +1,7 @@
{ lib
, mopidy
, python3Packages
+, fetchpatch
}:
python3Packages.buildPythonApplication rec {
@@ -21,6 +22,14 @@ python3Packages.buildPythonApplication rec {
python3Packages.pytestCheckHook
];
+ patches = [
+ # Fix tests for Mopidy≥3.1.0. Remove with the next release.
+ (fetchpatch {
+ url = "https://github.com/mopidy/mopidy-local/commit/f1d7598d3a9587f0823acb97ecb615f4f4817fd2.patch";
+ sha256 = "193kd5zwsr0qpp2y8icdy13vqpglmjdm7x1rw5hliwyq18a34vjp";
+ })
+ ];
+
meta = with lib; {
homepage = "https://github.com/mopidy/mopidy-local";
description = "Mopidy extension for playing music from your local music archive";