pythonPAckages.google_cloud_dataproc: init at 0.2.0

This commit is contained in:
Chris Ostrouchov 2018-11-02 15:08:22 -04:00
parent fcf9839117
commit 206a66c138
No known key found for this signature in database
GPG key ID: 9ED59B0AB1EAF573
2 changed files with 32 additions and 0 deletions

View file

@ -0,0 +1,30 @@
{ stdenv
, buildPythonPackage
, fetchPypi
, google_api_core
, pytest
}:
buildPythonPackage rec {
pname = "google-cloud-dataproc";
version = "0.2.0";
src = fetchPypi {
inherit pname version;
sha256 = "531dbd3e5862df5e67751efdcd89f00d0ded35f3a87a18fd3245e1c365080720";
};
checkInputs = [ pytest ];
propagatedBuildInputs = [ google_api_core ];
checkPhase = ''
pytest tests/unit
'';
meta = with stdenv.lib; {
description = "Google Cloud Dataproc API client library";
homepage = https://github.com/GoogleCloudPlatform/google-cloud-python;
license = licenses.asl20;
maintainers = [ maintainers.costrouc ];
};
}

View file

@ -2454,6 +2454,8 @@ in {
google_cloud_container = callPackage ../development/python-modules/google_cloud_container { };
google_cloud_dataproc = callPackage ../development/python-modules/google_cloud_dataproc { };
google_cloud_kms = callPackage ../development/python-modules/google_cloud_kms { };
google_cloud_storage = callPackage ../development/python-modules/google_cloud_storage { };