Skip to content

Commit d768cd5

Browse files
mopidy-local: 3.2.1 -> 3.3.0 (#366244)
2 parents 3df3edc + 69cb498 commit d768cd5

File tree

1 file changed

+7
-14
lines changed

1 file changed

+7
-14
lines changed

pkgs/applications/audio/mopidy/local.nix

Lines changed: 7 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -2,28 +2,21 @@
22
lib,
33
mopidy,
44
python3Packages,
5-
fetchPypi,
5+
fetchurl,
66
fetchpatch,
77
}:
88

99
python3Packages.buildPythonApplication rec {
1010
pname = "Mopidy-Local";
11-
version = "3.2.1";
11+
version = "3.3.0";
1212

13-
src = fetchPypi {
14-
inherit pname version;
15-
sha256 = "18w39mxpv8p17whd6zfw5653d21q138f8xd6ili6ks2g2dbm25i9";
13+
# We can't use fetchPypi here because the name of the file does not match the
14+
# name of the package.
15+
src = fetchurl {
16+
url = "https://files.pythonhosted.org/packages/02/c5/d099a05df7d6b0687071aa7d2d7a3499802b3b4b641531cd46ec8e6e7035/mopidy_local-3.3.0.tar.gz";
17+
sha256 = "cba6ed6c693952255a9f5efcc7b77d8eae4e4e728c6ee9621efd1a471b992b7a";
1618
};
1719

18-
patches = [
19-
# Fix tests with newer Mopidy versions >=3.4.0 -- mopidy/mopidy-local#69
20-
(fetchpatch {
21-
name = "update-tests-for-mopidy-3.4.0.patch";
22-
url = "https://github.com/mopidy/mopidy-local/commit/f2c198f8eb253f62100afc58f652e73a76d5a090.patch";
23-
hash = "sha256-jrlZc/pd00S5q9nOfV1OXu+uP/SvH+Xbi7U52aZajj4=";
24-
})
25-
];
26-
2720
propagatedBuildInputs = [
2821
mopidy
2922
python3Packages.uritools

0 commit comments

Comments
 (0)