From aa51851af779484807ee83e2fe61c42916b1c3e6 Mon Sep 17 00:00:00 2001 From: FliegendeWurst Date: Sun, 9 Mar 2025 17:50:21 +0100 Subject: [PATCH] mopidy-local: use fetchPypi again --- pkgs/applications/audio/mopidy/local.nix | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/pkgs/applications/audio/mopidy/local.nix b/pkgs/applications/audio/mopidy/local.nix index eb9852e4980e..10613e532944 100644 --- a/pkgs/applications/audio/mopidy/local.nix +++ b/pkgs/applications/audio/mopidy/local.nix @@ -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 = [