pythonPackages.google_cloud_dlp: init at 0.9.0

This commit is contained in:
Chris Ostrouchov 2018-11-02 15:13:44 -04:00
parent dccf50300f
commit 5472060a7a
No known key found for this signature in database
GPG key ID: 9ED59B0AB1EAF573
2 changed files with 33 additions and 0 deletions

View file

@ -0,0 +1,31 @@
{ stdenv
, buildPythonPackage
, fetchPypi
, enum34
, google_api_core
, pytest
}:
buildPythonPackage rec {
pname = "google-cloud-dlp";
version = "0.9.0";
src = fetchPypi {
inherit pname version;
sha256 = "408e5c6820dc53dd589a7bc378d25c2cf5817c448b7c7b1268bc745ecbe04ec3";
};
checkInputs = [ pytest ];
propagatedBuildInputs = [ enum34 google_api_core ];
checkPhase = ''
pytest tests/unit
'';
meta = with stdenv.lib; {
description = "Cloud Data Loss Prevention (DLP) API API client library";
homepage = https://github.com/GoogleCloudPlatform/google-cloud-python;
license = licenses.asl20;
maintainers = [ maintainers.costrouc ];
};
}

View file

@ -2458,6 +2458,8 @@ in {
google_cloud_datastore = callPackage ../development/python-modules/google_cloud_datastore { };
google_cloud_dlp = callPackage ../development/python-modules/google_cloud_dlp { };
google_cloud_kms = callPackage ../development/python-modules/google_cloud_kms { };
google_cloud_storage = callPackage ../development/python-modules/google_cloud_storage { };