2015-12-05 02:53:01 +00:00
|
|
|
{ stdenv, fetchurl, pythonPackages, mopidy }:
|
|
|
|
|
2016-02-19 12:12:11 +00:00
|
|
|
pythonPackages.buildPythonApplication rec {
|
2015-12-05 02:53:01 +00:00
|
|
|
name = "mopidy-gmusic-${version}";
|
2016-11-24 22:42:27 +00:00
|
|
|
version = "2.0.0";
|
2015-12-05 02:53:01 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "https://github.com/mopidy/mopidy-gmusic/archive/v${version}.tar.gz";
|
2016-11-24 22:42:27 +00:00
|
|
|
sha256 = "1xryw2aixfza3brxlgjdlg0lghlb17g7kay9zy56mlzp0jr7m87j";
|
2015-12-05 02:53:01 +00:00
|
|
|
};
|
|
|
|
|
2016-11-24 22:42:27 +00:00
|
|
|
propagatedBuildInputs = [
|
|
|
|
mopidy
|
2017-05-07 10:55:45 +00:00
|
|
|
pythonPackages.requests
|
2016-11-24 22:42:27 +00:00
|
|
|
pythonPackages.gmusicapi
|
|
|
|
pythonPackages.cachetools
|
|
|
|
];
|
2015-12-05 02:53:01 +00:00
|
|
|
|
|
|
|
doCheck = false;
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
homepage = http://www.mopidy.com/;
|
|
|
|
description = "Mopidy extension for playing music from Google Play Music";
|
|
|
|
license = licenses.asl20;
|
|
|
|
maintainers = [ maintainers.jgillich ];
|
|
|
|
hydraPlatforms = [];
|
|
|
|
};
|
|
|
|
}
|