Fix mopidy-ytmusic

This commit is contained in:
Alexander Bantyev 2021-09-13 15:01:46 +03:00
parent d54e6ae86f
commit 67fa01fa72
Signed by: balsoft
GPG Key ID: E081FF12ADCB4AD5

View File

@ -89,8 +89,8 @@ in {
propagatedBuildInputs = [ propagatedBuildInputs = [
mopidy mopidy
python3Packages.pytube (python3Packages.ytmusicapi.overrideAttrs (oa: rec {
(python3Packages.ytmusicapi.overrideAttrs (oa: { name = "python3.9-ytmusicapi-${version}";
version = "0.19.1"; version = "0.19.1";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "sigma67"; owner = "sigma67";
@ -100,8 +100,21 @@ in {
fetchSubmodules = true; fetchSubmodules = true;
}; };
})) }))
(python3Packages.pytube.overrideAttrs (oa: rec {
name = "python3.9-pytube-${version}";
version = "11.0.1";
src = fetchFromGitHub {
owner = "pytube";
repo = "pytube";
rev = "bb890af3b271a616bbe1d08abc8c65bac9266b0a";
sha256 = "vUAvaTY5f5IBj3hwNnHsX58vIOdZj3KbZiRi19Rv/oU=";
fetchSubmodules = true;
};
}))
]; ];
patchPhase = "sed s/11.0/12.0/ -i setup.py";
doCheck = false; doCheck = false;
}; };