diff options
author | Weijia Wang <9713184+wegank@users.noreply.github.com> | 2023-04-30 00:46:08 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-04-30 00:46:08 +0300 |
commit | 2a27e116fd45c0ef3f6b2e6d3a600a0d8fcd3e57 (patch) | |
tree | efbf0f6ef3b1510aabb8430bb4b1dd7d7f972898 /pkgs/tools | |
parent | 59dd72adfb2ea8ed0b8a441b332d7ebadd7f43be (diff) | |
parent | 470913e732230eba7177ec0356e24cf161f86a1c (diff) | |
download | nixpkgs-2a27e116fd45c0ef3f6b2e6d3a600a0d8fcd3e57.tar nixpkgs-2a27e116fd45c0ef3f6b2e6d3a600a0d8fcd3e57.tar.gz nixpkgs-2a27e116fd45c0ef3f6b2e6d3a600a0d8fcd3e57.tar.bz2 nixpkgs-2a27e116fd45c0ef3f6b2e6d3a600a0d8fcd3e57.tar.lz nixpkgs-2a27e116fd45c0ef3f6b2e6d3a600a0d8fcd3e57.tar.xz nixpkgs-2a27e116fd45c0ef3f6b2e6d3a600a0d8fcd3e57.tar.zst nixpkgs-2a27e116fd45c0ef3f6b2e6d3a600a0d8fcd3e57.zip |
Merge pull request #228835 from dotlambda/spotdl-4.1.8
spotdl: 4.0.7 -> 4.1.8
Diffstat (limited to 'pkgs/tools')
-rw-r--r-- | pkgs/tools/audio/spotdl/default.nix | 27 |
1 files changed, 21 insertions, 6 deletions
diff --git a/pkgs/tools/audio/spotdl/default.nix b/pkgs/tools/audio/spotdl/default.nix index e8ceaee8192..afa22491bf0 100644 --- a/pkgs/tools/audio/spotdl/default.nix +++ b/pkgs/tools/audio/spotdl/default.nix @@ -4,9 +4,22 @@ , ffmpeg }: -python3.pkgs.buildPythonApplication rec { +let + python = python3.override { + packageOverrides = self: super: { + ytmusicapi = super.ytmusicapi.overridePythonAttrs (old: rec { + version = "0.25.1"; + src = self.fetchPypi { + inherit (old) pname; + inherit version; + hash = "sha256-uc/fgDetSYaCRzff0SzfbRhs3TaKrfE2h6roWkkj8yQ="; + }; + }); + }; + }; +in python.pkgs.buildPythonApplication rec { pname = "spotdl"; - version = "4.0.7"; + version = "4.1.8"; format = "pyproject"; @@ -14,17 +27,17 @@ python3.pkgs.buildPythonApplication rec { owner = "spotDL"; repo = "spotify-downloader"; rev = "refs/tags/v${version}"; - hash = "sha256-+hkdrPi3INs16SeAl+iXOE9KFDzG/TYXB3CDd8Tigwk="; + hash = "sha256-iE5d9enSbONqVxKW7H7N+1TmBp6nVGtiQvxJxV7R/1o="; }; - nativeBuildInputs = with python3.pkgs; [ + nativeBuildInputs = with python.pkgs; [ poetry-core pythonRelaxDepsHook ]; pythonRelaxDeps = true; - propagatedBuildInputs = with python3.pkgs; [ + propagatedBuildInputs = with python.pkgs; [ spotipy ytmusicapi pytube @@ -41,9 +54,11 @@ python3.pkgs.buildPythonApplication rec { platformdirs pykakasi syncedlyrics + typing-extensions + setuptools # for pkg_resources ]; - nativeCheckInputs = with python3.pkgs; [ + nativeCheckInputs = with python.pkgs; [ pytestCheckHook pytest-mock pytest-vcr |