diff options
author | Robert Schütz <nix@dotlambda.de> | 2023-05-01 22:14:41 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-05-01 22:14:41 -0700 |
commit | 0f9c464c3d1c9b4885bf07dfa88f3dbc227d3750 (patch) | |
tree | d5e8b85b9bba108b9d824e34b6c0771f8461a756 /pkgs/applications/audio/mopidy | |
parent | 3f0ccd2a6f46a894f6ab071ad0b9257b5edceafe (diff) | |
parent | 84a94cf56dc836293fb418ed9eeea862bce74fb8 (diff) | |
download | nixpkgs-0f9c464c3d1c9b4885bf07dfa88f3dbc227d3750.tar nixpkgs-0f9c464c3d1c9b4885bf07dfa88f3dbc227d3750.tar.gz nixpkgs-0f9c464c3d1c9b4885bf07dfa88f3dbc227d3750.tar.bz2 nixpkgs-0f9c464c3d1c9b4885bf07dfa88f3dbc227d3750.tar.lz nixpkgs-0f9c464c3d1c9b4885bf07dfa88f3dbc227d3750.tar.xz nixpkgs-0f9c464c3d1c9b4885bf07dfa88f3dbc227d3750.tar.zst nixpkgs-0f9c464c3d1c9b4885bf07dfa88f3dbc227d3750.zip |
Merge pull request #225729 from r-ryantm/auto-update/python310Packages.ytmusicapi
python310Packages.ytmusicapi: 0.25.1 -> 1.0.2
Diffstat (limited to 'pkgs/applications/audio/mopidy')
-rw-r--r-- | pkgs/applications/audio/mopidy/ytmusic.nix | 23 |
1 files changed, 18 insertions, 5 deletions
diff --git a/pkgs/applications/audio/mopidy/ytmusic.nix b/pkgs/applications/audio/mopidy/ytmusic.nix index 70c7942f3d7..3b0927bbbcd 100644 --- a/pkgs/applications/audio/mopidy/ytmusic.nix +++ b/pkgs/applications/audio/mopidy/ytmusic.nix @@ -3,20 +3,33 @@ , mopidy }: -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 = "mopidy-ytmusic"; version = "0.3.8"; - src = python3.pkgs.fetchPypi { + src = python.pkgs.fetchPypi { inherit version; pname = "mopidy_ytmusic"; sha256 = "6b4d8ff9c477dbdd30d0259a009494ebe104cad3f8b37241ae503e5bce4ec2e8"; }; propagatedBuildInputs = [ - (mopidy.override { pythonPackages = python3.pkgs; }) - python3.pkgs.ytmusicapi - python3.pkgs.pytube + (mopidy.override { pythonPackages = python.pkgs; }) + python.pkgs.ytmusicapi + python.pkgs.pytube ]; pythonImportsCheck = [ "mopidy_ytmusic" ]; |