Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ lib 2, buildPythonPackage 3, fetchPypi 4, grpc_google_iam_v1 5, google-api-core 6, libcst 7, mock 8, proto-plus 9, pytestCheckHook 10, pytest-asyncio 11}: 12 13buildPythonPackage rec { 14 pname = "google-cloud-securitycenter"; 15 version = "1.1.0"; 16 17 src = fetchPypi { 18 inherit pname version; 19 sha256 = "1lgz6qpsfv4b7p5ff4sdpjpaddxpbazdvlcrqr1i0c0qil2lkm2i"; 20 }; 21 22 propagatedBuildInputs = [ grpc_google_iam_v1 google-api-core libcst proto-plus ]; 23 24 checkInputs = [ mock pytestCheckHook pytest-asyncio ]; 25 26 pythonImportsCheck = [ 27 "google.cloud.securitycenter" 28 "google.cloud.securitycenter_v1" 29 "google.cloud.securitycenter_v1beta1" 30 "google.cloud.securitycenter_v1p1beta1" 31 ]; 32 33 meta = with lib; { 34 description = "Cloud Security Command Center API API client library"; 35 homepage = "https://github.com/googleapis/python-securitycenter"; 36 license = licenses.asl20; 37 maintainers = with maintainers; [ SuperSandro2000 ]; 38 }; 39}