1{ stdenv
2, buildPythonPackage
3, fetchPypi
4, validictory
5, decorator
6, mutagen
7, protobuf
8, setuptools
9, requests
10, dateutil
11, proboscis
12, mock
13, appdirs
14, oauth2client
15, pyopenssl
16, gpsoauth
17, MechanicalSoup
18, future
19}:
20
21buildPythonPackage rec {
22 pname = "gmusicapi";
23 version = "13.0.0";
24
25 src = fetchPypi {
26 inherit pname version;
27 sha256 = "14dqs64nhy84dykyyrdjmsirc7m169zsvwa8abh4v0xcm658lm5k";
28 };
29
30 propagatedBuildInputs = [ validictory decorator mutagen protobuf setuptools requests dateutil proboscis mock appdirs oauth2client pyopenssl gpsoauth MechanicalSoup future ];
31
32 meta = with stdenv.lib; {
33 description = "An unofficial API for Google Play Music";
34 homepage = "https://pypi.python.org/pypi/gmusicapi/";
35 license = licenses.bsd3;
36 };
37}