depot/third_party/nixpkgs/pkgs/development/python-modules/google-cloud-dlp/default.nix
Default email 3cbfd2b52c Project import generated by Copybara.
GitOrigin-RevId: 395879c28386e1abf20c7ecacd45880759548391
2021-12-18 20:06:50 -05:00

43 lines
931 B
Nix

{ lib
, buildPythonPackage
, fetchPypi
, google-api-core
, google-cloud-testutils
, libcst
, proto-plus
, pytestCheckHook
, pytest-asyncio
, pytz
, mock
}:
buildPythonPackage rec {
pname = "google-cloud-dlp";
version = "3.4.0";
src = fetchPypi {
inherit pname version;
sha256 = "0b249fa87deb57f5c7107a7d5d303673590a6524a7f113fc95f87493f3328606";
};
propagatedBuildInputs = [ google-api-core libcst proto-plus pytz ];
checkInputs = [ google-cloud-testutils mock pytestCheckHook pytest-asyncio ];
disabledTests = [
# requires credentials
"test_inspect_content"
];
pythonImportsCheck = [
"google.cloud.dlp"
"google.cloud.dlp_v2"
];
meta = with lib; {
description = "Cloud Data Loss Prevention (DLP) API API client library";
homepage = "https://github.com/googleapis/python-dlp";
license = licenses.asl20;
maintainers = with maintainers; [ SuperSandro2000 ];
};
}