diff options
author | Klaas van Schelven <klaas@vanschelven.com> | 2017-12-20 23:47:52 +0100 |
---|---|---|
committer | Klaas van Schelven <klaas@vanschelven.com> | 2017-12-20 23:47:52 +0100 |
commit | 16726319325fa310615dd298f7da7ad9051b80ab (patch) | |
tree | 5ae8a95f88c7be0dd6fbaa5dbe0475f9e4879609 /pkgs | |
parent | df69f446a853cbb2441f71d3552cb7f3245df18c (diff) | |
download | nixlib-16726319325fa310615dd298f7da7ad9051b80ab.tar nixlib-16726319325fa310615dd298f7da7ad9051b80ab.tar.gz nixlib-16726319325fa310615dd298f7da7ad9051b80ab.tar.bz2 nixlib-16726319325fa310615dd298f7da7ad9051b80ab.tar.lz nixlib-16726319325fa310615dd298f7da7ad9051b80ab.tar.xz nixlib-16726319325fa310615dd298f7da7ad9051b80ab.tar.zst nixlib-16726319325fa310615dd298f7da7ad9051b80ab.zip |
google_api_core: init at 0.1.2
Diffstat (limited to 'pkgs')
-rw-r--r-- | pkgs/development/python-modules/google_api_core/default.nix | 26 | ||||
-rw-r--r-- | pkgs/top-level/python-packages.nix | 2 |
2 files changed, 28 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/google_api_core/default.nix b/pkgs/development/python-modules/google_api_core/default.nix new file mode 100644 index 000000000000..6aa43989aa30 --- /dev/null +++ b/pkgs/development/python-modules/google_api_core/default.nix @@ -0,0 +1,26 @@ +{ stdenv, buildPythonPackage, fetchPypi +, google_auth, protobuf, googleapis_common_protos, requests, grpcio, setuptools, mock, pytest }: + +buildPythonPackage rec { + pname = "google-api-core"; + version = "0.1.2"; + + src = fetchPypi { + inherit pname version; + sha256 = "0qmjswj079w7q7zbnh8p4n2r3f831wymm9hfdlc7zfrini7184xv"; + }; + + propagatedBuildInputs = [ google_auth protobuf googleapis_common_protos requests grpcio ]; + checkInputs = [ setuptools mock pytest ]; + + checkPhase = '' + py.test + ''; + + meta = with stdenv.lib; { + description = "This library is not meant to stand-alone. Instead it defines common helpers used by all Google API clients."; + homepage = "https://github.com/GoogleCloudPlatform/google-cloud-python"; + license = licenses.asl20; + maintainers = with maintainers; [ vanschelven ]; + }; +} diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index eaef62411366..60765cba2e43 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -9047,6 +9047,8 @@ in { googleapis_common_protos = callPackage ../development/python-modules/googleapis_common_protos { }; + google_api_core = callPackage ../development/python-modules/google_api_core { }; + google_api_python_client = buildPythonPackage rec { name = "google-api-python-client-${version}"; version = "1.5.1"; |