From a903708156181a442006c2d18a09b1e7205b6315 Mon Sep 17 00:00:00 2001 From: Frederik Rietdijk Date: Fri, 22 Jun 2018 07:59:24 +0200 Subject: [PATCH] python.pkgs.google-auth-httplib2: init at 0.0.3 --- .../google-auth-httplib2/default.nix | 41 +++++++++++++++++++ pkgs/top-level/python-packages.nix | 2 + 2 files changed, 43 insertions(+) create mode 100644 pkgs/development/python-modules/google-auth-httplib2/default.nix diff --git a/pkgs/development/python-modules/google-auth-httplib2/default.nix b/pkgs/development/python-modules/google-auth-httplib2/default.nix new file mode 100644 index 000000000000..c76f5c572e40 --- /dev/null +++ b/pkgs/development/python-modules/google-auth-httplib2/default.nix @@ -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; + }; + +} \ No newline at end of file diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index 7547e54af4a5..51da6c57433b 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -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 { };