|
|
|
@ -9,20 +9,34 @@ |
|
|
|
|
, pytest-asyncio |
|
|
|
|
, pytz |
|
|
|
|
, mock |
|
|
|
|
, pythonOlder |
|
|
|
|
}: |
|
|
|
|
|
|
|
|
|
buildPythonPackage rec { |
|
|
|
|
pname = "google-cloud-dlp"; |
|
|
|
|
version = "3.6.1"; |
|
|
|
|
format = "setuptools"; |
|
|
|
|
|
|
|
|
|
disabled = pythonOlder "3.6"; |
|
|
|
|
|
|
|
|
|
src = fetchPypi { |
|
|
|
|
inherit pname version; |
|
|
|
|
sha256 = "sha256-zDGLdyBvm2haNaWRanHkRJZqHl+yvBuHRxCGqXYO7Ow="; |
|
|
|
|
hash = "sha256-zDGLdyBvm2haNaWRanHkRJZqHl+yvBuHRxCGqXYO7Ow="; |
|
|
|
|
}; |
|
|
|
|
|
|
|
|
|
propagatedBuildInputs = [ google-api-core libcst proto-plus pytz ]; |
|
|
|
|
propagatedBuildInputs = [ |
|
|
|
|
google-api-core |
|
|
|
|
libcst |
|
|
|
|
proto-plus |
|
|
|
|
pytz |
|
|
|
|
]; |
|
|
|
|
|
|
|
|
|
checkInputs = [ google-cloud-testutils mock pytestCheckHook pytest-asyncio ]; |
|
|
|
|
checkInputs = [ |
|
|
|
|
google-cloud-testutils |
|
|
|
|
mock |
|
|
|
|
pytestCheckHook |
|
|
|
|
pytest-asyncio |
|
|
|
|
]; |
|
|
|
|
|
|
|
|
|
disabledTests = [ |
|
|
|
|
# requires credentials |
|
|
|
|