2021-01-25 00:26:54 -08:00
|
|
|
{ lib, python3Packages, mopidy }:
|
2015-12-14 18:19:58 -08:00
|
|
|
|
2020-01-24 01:27:35 -08:00
|
|
|
python3Packages.buildPythonApplication rec {
|
2018-06-23 06:27:58 -07:00
|
|
|
pname = "mopidy-youtube";
|
2021-01-13 12:46:36 -08:00
|
|
|
version = "3.2";
|
2015-12-14 18:19:58 -08:00
|
|
|
|
2020-01-24 01:27:35 -08:00
|
|
|
src = python3Packages.fetchPypi {
|
|
|
|
inherit version;
|
|
|
|
pname = "Mopidy-YouTube";
|
2021-01-13 12:46:36 -08:00
|
|
|
sha256 = "0wmalfqnskglssq3gj6kkrq6h6c9yab503y72afhkm7n9r5c57zz";
|
2015-12-14 18:19:58 -08:00
|
|
|
};
|
|
|
|
|
2020-01-24 01:27:35 -08:00
|
|
|
patchPhase = "sed s/bs4/beautifulsoup4/ -i setup.cfg";
|
|
|
|
|
|
|
|
propagatedBuildInputs = [
|
|
|
|
mopidy
|
|
|
|
python3Packages.beautifulsoup4
|
|
|
|
python3Packages.cachetools
|
|
|
|
python3Packages.youtube-dl
|
|
|
|
];
|
2015-12-14 18:19:58 -08:00
|
|
|
|
|
|
|
doCheck = false;
|
|
|
|
|
2021-01-10 23:54:33 -08:00
|
|
|
meta = with lib; {
|
2015-12-14 18:19:58 -08:00
|
|
|
description = "Mopidy extension for playing music from YouTube";
|
|
|
|
license = licenses.asl20;
|
|
|
|
maintainers = [ maintainers.spwhitt ];
|
|
|
|
};
|
|
|
|
}
|