3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/applications/audio/mopidy/youtube.nix

30 lines
690 B
Nix
Raw Normal View History

2020-01-24 09:27:35 +00:00
{ stdenv, python3Packages, mopidy }:
2015-12-15 02:19:58 +00:00
2020-01-24 09:27:35 +00:00
python3Packages.buildPythonApplication rec {
pname = "mopidy-youtube";
2020-07-25 09:34:25 +01:00
version = "3.1";
2015-12-15 02:19:58 +00:00
2020-01-24 09:27:35 +00:00
src = python3Packages.fetchPypi {
inherit version;
pname = "Mopidy-YouTube";
2020-07-25 09:34:25 +01:00
sha256 = "1bn3nxianbal9f81z9wf2cxi893hndvrz2zdqvh1zpxrhs0cr038";
2015-12-15 02:19:58 +00:00
};
2020-01-24 09:27:35 +00:00
patchPhase = "sed s/bs4/beautifulsoup4/ -i setup.cfg";
propagatedBuildInputs = [
mopidy
python3Packages.beautifulsoup4
python3Packages.cachetools
python3Packages.youtube-dl
];
2015-12-15 02:19:58 +00:00
doCheck = false;
meta = with stdenv.lib; {
description = "Mopidy extension for playing music from YouTube";
license = licenses.asl20;
maintainers = [ maintainers.spwhitt ];
};
}