2015-12-15 02:19:58 +00:00
|
|
|
{ stdenv, fetchFromGitHub, pythonPackages, mopidy }:
|
|
|
|
|
2016-02-19 12:12:11 +00:00
|
|
|
pythonPackages.buildPythonApplication rec {
|
2018-06-23 14:27:58 +01:00
|
|
|
pname = "mopidy-youtube";
|
2016-04-12 13:06:39 +01:00
|
|
|
version = "2.0.2";
|
2015-12-15 02:19:58 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "mopidy";
|
|
|
|
repo = "mopidy-youtube";
|
|
|
|
rev = "v${version}";
|
2016-04-12 13:06:39 +01:00
|
|
|
sha256 = "06r3ikyg2ch5n7fbn3sgj04hk6icpfpk1r856qch41995k3bbfg7";
|
2015-12-15 02:19:58 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = with pythonPackages; [ mopidy pafy ];
|
|
|
|
|
|
|
|
doCheck = false;
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "Mopidy extension for playing music from YouTube";
|
|
|
|
license = licenses.asl20;
|
|
|
|
maintainers = [ maintainers.spwhitt ];
|
|
|
|
};
|
|
|
|
}
|