2019-01-05 20:23:09 +00:00
|
|
|
{ lib, buildPythonPackage, fetchPypi, isPy3k
|
2018-07-08 10:51:08 +01:00
|
|
|
, httplib2, google_auth, google-auth-httplib2, six, uritemplate, oauth2client }:
|
2018-04-05 21:37:52 +01:00
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "google-api-python-client";
|
2019-01-05 20:23:09 +00:00
|
|
|
version = "1.7.7";
|
|
|
|
#disabled = !isPy3k; # TODO: Python 2.7 was deprecated but weboob still depends on it.
|
2018-04-05 21:37:52 +01:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2019-01-05 20:23:09 +00:00
|
|
|
sha256 = "1nlsp8cll6v9w4649j98xw545bfnqa2xs7m9faa9mxc0kp8ff1li";
|
2018-04-05 21:37:52 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
# No tests included in archive
|
|
|
|
doCheck = false;
|
|
|
|
|
2018-07-08 10:51:08 +01:00
|
|
|
propagatedBuildInputs = [ httplib2 google_auth google-auth-httplib2 six uritemplate oauth2client ];
|
2018-04-05 21:37:52 +01:00
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "The core Python library for accessing Google APIs";
|
|
|
|
homepage = https://github.com/google/google-api-python-client;
|
|
|
|
license = licenses.asl20;
|
|
|
|
};
|
|
|
|
}
|