summaryrefslogtreecommitdiffstats
path: root/pkgs/applications/audio
diff options
context:
space:
mode:
authorMario Rodas <marsam@users.noreply.github.com>2021-01-06 18:03:56 -0500
committerGitHub <noreply@github.com>2021-01-06 18:03:56 -0500
commit32c3eeb8979726b320d1b84da2bb81692544dd3f (patch)
treeaad4fd78324e95d4c87992ada8da338d7239e809 /pkgs/applications/audio
parentd70b9c4c557b8964760044a5440a0416e86e40d5 (diff)
parent92473bf94daf74c4822b668873dfbd41e822308a (diff)
Merge pull request #107084 from r-ryantm/auto-update/mopidy
mopidy: 3.0.2 -> 3.1.0
Diffstat (limited to 'pkgs/applications/audio')
-rw-r--r--pkgs/applications/audio/mopidy/local.nix9
-rw-r--r--pkgs/applications/audio/mopidy/mopidy.nix4
2 files changed, 11 insertions, 2 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";
diff --git a/pkgs/applications/audio/mopidy/mopidy.nix b/pkgs/applications/audio/mopidy/mopidy.nix
index f2f3734ec2ee..6f7ee0c857ae 100644
--- a/pkgs/applications/audio/mopidy/mopidy.nix
+++ b/pkgs/applications/audio/mopidy/mopidy.nix
@@ -4,13 +4,13 @@
pythonPackages.buildPythonApplication rec {
pname = "mopidy";
- version = "3.0.2";
+ version = "3.1.1";
src = fetchFromGitHub {
owner = "mopidy";
repo = "mopidy";
rev = "v${version}";
- sha256 = "1n9lpgq0p112cjgsrc1cd6mnffk56y36g2c5skk9cqzw27qrkd15";
+ sha256 = "14m80z9spi2vhfs2bbff7ky80mr6bksl4550y17hwd7zpkid60za";
};
nativeBuildInputs = [ wrapGAppsHook ];