1{ lib 2, buildPythonPackage 3, fetchPypi 4, google-api-core 5, google-cloud-testutils 6, libcst 7, proto-plus 8, pytestCheckHook 9, pytest-asyncio 10, pytz 11, mock 12}: 13 14buildPythonPackage rec { 15 pname = "google-cloud-dlp"; 16 version = "3.3.1"; 17 18 src = fetchPypi { 19 inherit pname version; 20 sha256 = "c6cf11b2d5ddbb931ba11060d0d0daa9188994be3ec9122f9bf24fccae8c907a"; 21 }; 22 23 propagatedBuildInputs = [ google-api-core libcst proto-plus pytz ]; 24 25 checkInputs = [ google-cloud-testutils mock pytestCheckHook pytest-asyncio ]; 26 27 disabledTests = [ 28 # requires credentials 29 "test_inspect_content" 30 ]; 31 32 pythonImportsCheck = [ 33 "google.cloud.dlp" 34 "google.cloud.dlp_v2" 35 ]; 36 37 meta = with lib; { 38 description = "Cloud Data Loss Prevention (DLP) API API client library"; 39 homepage = "https://github.com/googleapis/python-dlp"; 40 license = licenses.asl20; 41 maintainers = with maintainers; [ SuperSandro2000 ]; 42 }; 43}