python3Packages.google-cloud-dlp: disable on older Python releases

This commit is contained in:
Fabian Affolter 2022-03-01 10:17:11 +01:00 committed by GitHub
parent 36e565b055
commit ba58cd2b53
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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