python.pkgs.google-auth-httplib2: init at 0.0.3

This commit is contained in:
Frederik Rietdijk 2018-06-22 07:59:24 +02:00
parent 5523162e85
commit a903708156
2 changed files with 43 additions and 0 deletions

View file

@ -0,0 +1,41 @@
{ lib
, buildPythonPackage
, fetchPypi
, flask
, mock
, six
, pytest
, pytest-localserver
, google_auth
, httplib2
}:
buildPythonPackage rec {
pname = "google-auth-httplib2";
version = "0.0.3";
src = fetchPypi {
inherit pname version;
sha256 = "098fade613c25b4527b2c08fa42d11f3c2037dda8995d86de0745228e965d445";
};
checkInputs = [
flask mock six pytest pytest-localserver
];
propagatedBuildInputs = [
google_auth httplib2
];
checkPhase = ''
py.test
'';
meta = {
description = "Google Authentication Library: httplib2 transport";
homepage = https://github.com/GoogleCloudPlatform/google-auth-library-python-httplib2;
license = lib.licenses.asl20;
};
}

View file

@ -6194,6 +6194,8 @@ in {
googleapis_common_protos = callPackage ../development/python-modules/googleapis_common_protos { };
google-auth-httplib2 = callPackage ../development/python-modules/google-auth-httplib2 { };
google_api_core = callPackage ../development/python-modules/google_api_core { };
google_api_python_client = callPackage ../development/python-modules/google-api-python-client { };