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

main
Fabian Affolter 2 years ago committed by GitHub
parent 36e565b055
commit ba58cd2b53
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 20
      pkgs/development/python-modules/google-cloud-dlp/default.nix

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

Loading…
Cancel
Save