diff options
author | Weijia Wang <9713184+wegank@users.noreply.github.com> | 2023-05-25 19:03:52 +0300 |
---|---|---|
committer | Weijia Wang <9713184+wegank@users.noreply.github.com> | 2023-05-25 19:03:52 +0300 |
commit | 35690e335f937fd1f13f0e3cd131d2282fa62469 (patch) | |
tree | b5ff5abc5f0ab5d554871e5a1286a23d6455de00 /pkgs/tools/audio/spotdl | |
parent | 6e6f778fe38cdcc196b995977d9436c830f45f30 (diff) |
treewide/tools: use top-level fetchPypi
Diffstat (limited to 'pkgs/tools/audio/spotdl')
-rw-r--r-- | pkgs/tools/audio/spotdl/default.nix | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/pkgs/tools/audio/spotdl/default.nix b/pkgs/tools/audio/spotdl/default.nix index 43e3b009da3e3..cd856770f79d7 100644 --- a/pkgs/tools/audio/spotdl/default.nix +++ b/pkgs/tools/audio/spotdl/default.nix @@ -1,5 +1,6 @@ { lib , python3 +, fetchPypi , fetchFromGitHub , ffmpeg }: @@ -9,7 +10,7 @@ let packageOverrides = self: super: { ytmusicapi = super.ytmusicapi.overridePythonAttrs (old: rec { version = "0.25.1"; - src = self.fetchPypi { + src = fetchPypi { inherit (old) pname; inherit version; hash = "sha256-uc/fgDetSYaCRzff0SzfbRhs3TaKrfE2h6roWkkj8yQ="; |