1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-25 03:17:13 +00:00
nixpkgs/pkgs/development/python-modules/google_cloud_dlp/default.nix
2018-11-20 14:12:12 -05:00

32 lines
684 B
Nix

{ 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 ];
};
}