mopidy-local: fix tests for Mopidy≥3.1.0

This commit is contained in:
Mario Rodas 2021-01-06 17:46:45 -05:00
parent b2859274ee
commit 92473bf94d

View File

@ -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";