nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at 22.05 57 lines 1.0 kB view raw
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, pythonOlder 13}: 14 15buildPythonPackage rec { 16 pname = "google-cloud-dlp"; 17 version = "3.7.0"; 18 format = "setuptools"; 19 20 disabled = pythonOlder "3.6"; 21 22 src = fetchPypi { 23 inherit pname version; 24 hash = "sha256-aUabWEz+ou12Lgys7PZnldjHnifPWPPqO8iJqkDgx9U="; 25 }; 26 27 propagatedBuildInputs = [ 28 google-api-core 29 libcst 30 proto-plus 31 pytz 32 ]; 33 34 checkInputs = [ 35 google-cloud-testutils 36 mock 37 pytestCheckHook 38 pytest-asyncio 39 ]; 40 41 disabledTests = [ 42 # requires credentials 43 "test_inspect_content" 44 ]; 45 46 pythonImportsCheck = [ 47 "google.cloud.dlp" 48 "google.cloud.dlp_v2" 49 ]; 50 51 meta = with lib; { 52 description = "Cloud Data Loss Prevention (DLP) API API client library"; 53 homepage = "https://github.com/googleapis/python-dlp"; 54 license = licenses.asl20; 55 maintainers = with maintainers; [ SuperSandro2000 ]; 56 }; 57}