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