2021-01-05 15:17:28 +00:00
|
|
|
{ lib
|
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
2019-01-10 17:18:21 +00:00
|
|
|
, appdirs
|
|
|
|
, audio-metadata
|
|
|
|
, google-music-proto
|
2020-04-02 08:23:09 +01:00
|
|
|
, httpx
|
2019-01-10 17:18:21 +00:00
|
|
|
, protobuf
|
|
|
|
, requests_oauthlib
|
|
|
|
, tenacity
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "google-music";
|
2020-06-06 07:47:09 +01:00
|
|
|
version = "3.7.0";
|
2019-01-10 17:18:21 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2021-01-05 15:17:28 +00:00
|
|
|
sha256 = "0fsp491ifsw0i1r98l8xr41m8d00nw9n5bin8k3laqzq1p65d6dp";
|
2019-01-10 17:18:21 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [
|
|
|
|
appdirs
|
|
|
|
audio-metadata
|
|
|
|
google-music-proto
|
2020-04-02 08:23:09 +01:00
|
|
|
httpx
|
2019-01-10 17:18:21 +00:00
|
|
|
protobuf
|
|
|
|
requests_oauthlib
|
|
|
|
tenacity
|
|
|
|
];
|
|
|
|
|
|
|
|
# No tests
|
|
|
|
doCheck = false;
|
|
|
|
|
|
|
|
meta = with lib; {
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "https://github.com/thebigmunch/google-music";
|
2019-01-10 17:18:21 +00:00
|
|
|
description = "A Google Music API wrapper";
|
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = with maintainers; [ jakewaksbaum ];
|
|
|
|
};
|
|
|
|
}
|