From fcf9839117005d31aca0a52ada8c01652c134468 Mon Sep 17 00:00:00 2001 From: Chris Ostrouchov Date: Fri, 2 Nov 2018 15:05:49 -0400 Subject: [PATCH] pythonPackages.google_cloud_container: init at 0.1.1 --- .../google_cloud_container/default.nix | 30 +++++++++++++++++++ pkgs/top-level/python-packages.nix | 2 ++ 2 files changed, 32 insertions(+) create mode 100644 pkgs/development/python-modules/google_cloud_container/default.nix diff --git a/pkgs/development/python-modules/google_cloud_container/default.nix b/pkgs/development/python-modules/google_cloud_container/default.nix new file mode 100644 index 000000000000..14ed41a3ea4a --- /dev/null +++ b/pkgs/development/python-modules/google_cloud_container/default.nix @@ -0,0 +1,30 @@ +{ stdenv +, buildPythonPackage +, fetchPypi +, google_api_core +, pytest +}: + +buildPythonPackage rec { + pname = "google-cloud-container"; + version = "0.1.1"; + + src = fetchPypi { + inherit pname version; + sha256 = "a89afcb1fe96bc9361c231c223c3bbe19fa3787caeb4697cd5778990e1077270"; + }; + + checkInputs = [ pytest ]; + propagatedBuildInputs = [ google_api_core ]; + + checkPhase = '' + pytest tests/unit + ''; + + meta = with stdenv.lib; { + description = "Google Container Engine API client library"; + homepage = https://github.com/GoogleCloudPlatform/google-cloud-python; + license = licenses.asl20; + maintainers = [ maintainers.costrouc ]; + }; +} diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index 5628c8720c57..c6e133596b3c 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -2452,6 +2452,8 @@ in { google_cloud_bigtable = callPackage ../development/python-modules/google_cloud_bigtable { }; + google_cloud_container = callPackage ../development/python-modules/google_cloud_container { }; + google_cloud_kms = callPackage ../development/python-modules/google_cloud_kms { }; google_cloud_storage = callPackage ../development/python-modules/google_cloud_storage { };