mopidy-youtube: 2.0.2 -> 3.0
This commit is contained in:
parent
17f31102d7
commit
cf9ca59fbf
|
@ -1,17 +1,23 @@
|
||||||
{ stdenv, fetchFromGitHub, pythonPackages, mopidy }:
|
{ stdenv, python3Packages, mopidy }:
|
||||||
|
|
||||||
pythonPackages.buildPythonApplication rec {
|
python3Packages.buildPythonApplication rec {
|
||||||
pname = "mopidy-youtube";
|
pname = "mopidy-youtube";
|
||||||
version = "2.0.2";
|
version = "3.0";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = python3Packages.fetchPypi {
|
||||||
owner = "mopidy";
|
inherit version;
|
||||||
repo = "mopidy-youtube";
|
pname = "Mopidy-YouTube";
|
||||||
rev = "v${version}";
|
sha256 = "0x1q9rfnjx65n6hi8s5rw5ff4xv55h63zy52fwm8aksdnzppr7gd";
|
||||||
sha256 = "06r3ikyg2ch5n7fbn3sgj04hk6icpfpk1r856qch41995k3bbfg7";
|
|
||||||
};
|
};
|
||||||
|
|
||||||
propagatedBuildInputs = with pythonPackages; [ mopidy pafy ];
|
patchPhase = "sed s/bs4/beautifulsoup4/ -i setup.cfg";
|
||||||
|
|
||||||
|
propagatedBuildInputs = [
|
||||||
|
mopidy
|
||||||
|
python3Packages.beautifulsoup4
|
||||||
|
python3Packages.cachetools
|
||||||
|
python3Packages.youtube-dl
|
||||||
|
];
|
||||||
|
|
||||||
doCheck = false;
|
doCheck = false;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue