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