summary refs log tree commit diff
path: root/pkgs/development/python-modules/google_cloud_testutils
diff options
context:
space:
mode:
authorChris Ostrouchov <chris.ostrouchov@gmail.com>2018-11-02 14:33:49 -0400
committerChris Ostrouchov <chris.ostrouchov@gmail.com>2018-11-20 14:12:10 -0500
commit6622deac9aa094e0b2a832764d53be630848c739 (patch)
tree7ce6f720196ffa8821a5f59de7a0565649a914d7 /pkgs/development/python-modules/google_cloud_testutils
parent53a196bea8a257e14724bdc81b6075930c65cf6d (diff)
downloadnixpkgs-6622deac9aa094e0b2a832764d53be630848c739.tar
nixpkgs-6622deac9aa094e0b2a832764d53be630848c739.tar.gz
nixpkgs-6622deac9aa094e0b2a832764d53be630848c739.tar.bz2
nixpkgs-6622deac9aa094e0b2a832764d53be630848c739.tar.lz
nixpkgs-6622deac9aa094e0b2a832764d53be630848c739.tar.xz
nixpkgs-6622deac9aa094e0b2a832764d53be630848c739.tar.zst
nixpkgs-6622deac9aa094e0b2a832764d53be630848c739.zip
pythonPackages.google_cloud_testutils: init at unstable-36ffa923c7037e8b4fdcaa76272cb6267e908a9d
This is a pseudo package (not released on pypi) but a package
necissary for running google-cloud-* package tests.
Diffstat (limited to 'pkgs/development/python-modules/google_cloud_testutils')
-rw-r--r--pkgs/development/python-modules/google_cloud_testutils/default.nix35
1 files changed, 35 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/google_cloud_testutils/default.nix b/pkgs/development/python-modules/google_cloud_testutils/default.nix
new file mode 100644
index 00000000000..9c8d6ca93e0
--- /dev/null
+++ b/pkgs/development/python-modules/google_cloud_testutils/default.nix
@@ -0,0 +1,35 @@
+{ stdenv
+, buildPythonPackage
+, fetchFromGitHub
+, six
+, google_auth
+}:
+
+buildPythonPackage rec {
+  pname = "google-cloud-testutils";
+  version = "unstable-36ffa923c7037e8b4fdcaa76272cb6267e908a9d";
+
+  # google-cloud-testutils is not "really"
+  # released as a python package
+  # but it is required for google-cloud-* tests
+  # so why not package it as a module
+  src = fetchFromGitHub {
+    owner = "googleapis";
+    repo = "google-cloud-python";
+    rev = "36ffa923c7037e8b4fdcaa76272cb6267e908a9d";
+    sha256 = "1fvcnssmpgf4lfr7l9h7cz984rbc5mfr1j1br12japcib5biwzjy";
+  };
+
+  propagatedBuildInputs = [ six google_auth ];
+
+  postPatch = ''
+    cd test_utils
+  '';
+
+  meta = with stdenv.lib; {
+    description = "System test utilities for google-cloud-python";
+    homepage = https://github.com/GoogleCloudPlatform/google-cloud-python;
+    license = licenses.asl20;
+    maintainers = [ maintainers.costrouc ];
+  };
+}