Update mopidy-ytmusic

This commit is contained in:
Alexander Bantyev 2021-09-12 21:46:19 +03:00
parent 221c88b502
commit d54e6ae86f
Signed by: balsoft
GPG Key ID: E081FF12ADCB4AD5
3 changed files with 33 additions and 12 deletions

View File

@ -318,6 +318,22 @@
"type": "github"
}
},
"mopidy-ytmusic": {
"flake": false,
"locked": {
"lastModified": 1630842402,
"narHash": "sha256-Gxlbfjenra3el5eym22POpGLyVx3mKx0PguH0jE/M40=",
"owner": "OzymandiasTheGreat",
"repo": "mopidy-ytmusic",
"rev": "e9b4741b80116b14d700b5f17607254a5059cc9b",
"type": "github"
},
"original": {
"owner": "OzymandiasTheGreat",
"repo": "mopidy-ytmusic",
"type": "github"
}
},
"mtxclient": {
"flake": false,
"locked": {
@ -622,6 +638,7 @@
"impermanence": "impermanence",
"lambda-launcher": "lambda-launcher",
"materia-theme": "materia-theme",
"mopidy-ytmusic": "mopidy-ytmusic",
"mtxclient": "mtxclient",
"nheko": "nheko",
"nix": "nix",

View File

@ -72,6 +72,11 @@
url = "github:nheko-reborn/mtxclient";
flake = false;
};
mopidy-ytmusic = {
url = "github:OzymandiasTheGreat/mopidy-ytmusic";
flake = false;
};
};
outputs = { nixpkgs, self, nix, deploy-rs, ... }@inputs:

View File

@ -85,22 +85,21 @@ in {
pname = "mopidy-ytmusic";
version = "3.2";
src = fetchFromGitHub {
owner = "ozymandiasthegreat";
repo = "mopidy-ytmusic";
rev = "2a7d8ec7f7161e5ca81e999786ea7c1f4da9205f";
sha256 = "hDOP0AR9P0sQHeW7JmG+yZf/w5mZrIu4Nl4xCMjQaIQ=";
fetchSubmodules = true;
};
prePatch = ''
sed s/0.18.0/0.18.1/ -i setup.py
'';
src = inputs.mopidy-ytmusic;
propagatedBuildInputs = [
mopidy
python3Packages.pytube
python3Packages.ytmusicapi
(python3Packages.ytmusicapi.overrideAttrs (oa: {
version = "0.19.1";
src = fetchFromGitHub {
owner = "sigma67";
repo = "ytmusicapi";
rev = "fd9f57750de103202106f02be1696bd440f2c05b";
sha256 = "/NMy2cGe0K/14OZd+/dXKA6Ez1ivrtrZ6Lwl0P8dioA=";
fetchSubmodules = true;
};
}))
];
doCheck = false;