2018-04-05 21:37:52 +01:00
|
|
|
{ lib, buildPythonPackage, fetchPypi
|
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";
|
2018-07-22 11:09:52 +01:00
|
|
|
version = "1.7.4";
|
2018-04-05 21:37:52 +01:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2018-07-22 11:09:52 +01:00
|
|
|
sha256 = "5d5cb02c6f3112c68eed51b74891a49c0e35263380672d662f8bfe85b8114d7c";
|
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;
|
|
|
|
};
|
|
|
|
}
|