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-28 23:09:31 +00:00
|
|
|
version = "1.7.8";
|
2019-01-05 20:23:09 +00:00
|
|
|
#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-28 23:09:31 +00:00
|
|
|
sha256 = "0n18frf0ghmwf5lxmkyski4b5h1rsx93ibq3iw0k3s2wxl371406";
|
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;
|
2019-01-28 23:09:31 +00:00
|
|
|
maintainers = with maintainers; [ primeos ];
|
2018-04-05 21:37:52 +01:00
|
|
|
};
|
|
|
|
}
|