0
0
Fork 0
mirror of https://github.com/NixOS/nixpkgs.git synced 2025-07-13 21:50:33 +03:00

mopidy-local: use fetchPypi again (#388467)

This commit is contained in:
Arne Keller 2025-03-09 17:59:34 +01:00 committed by GitHub
commit 20c097e47b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -2,7 +2,7 @@
lib,
mopidy,
python3Packages,
fetchurl,
fetchPypi,
fetchpatch,
}:
@ -10,11 +10,10 @@ python3Packages.buildPythonApplication rec {
pname = "Mopidy-Local";
version = "3.3.0";
# We can't use fetchPypi here because the name of the file does not match the
# name of the package.
src = fetchurl {
url = "https://files.pythonhosted.org/packages/02/c5/d099a05df7d6b0687071aa7d2d7a3499802b3b4b641531cd46ec8e6e7035/mopidy_local-3.3.0.tar.gz";
sha256 = "cba6ed6c693952255a9f5efcc7b77d8eae4e4e728c6ee9621efd1a471b992b7a";
src = fetchPypi {
inherit version;
pname = "mopidy_local";
hash = "sha256-y6btbGk5UiVan178x7d9jq5OTnKMbuliHv0aRxuZK3o=";
};
propagatedBuildInputs = [