Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ lib 2, buildPythonPackage 3, fetchPypi 4, google-api-core 5, grpc_google_iam_v1 6, libcst 7, mock 8, proto-plus 9, pytestCheckHook 10, pytest-asyncio 11}: 12 13buildPythonPackage rec { 14 pname = "google-cloud-secret-manager"; 15 version = "2.4.0"; 16 17 src = fetchPypi { 18 inherit pname version; 19 sha256 = "sha256-/ROngNZJld6iA8WjbJLLNzu5vFWPFUNdTikc70kNkQ4="; 20 }; 21 22 propagatedBuildInputs = [ 23 google-api-core 24 grpc_google_iam_v1 25 libcst 26 proto-plus 27 ]; 28 29 checkInputs = [ 30 mock 31 pytestCheckHook 32 pytest-asyncio 33 ]; 34 35 pythonImportsCheck = [ 36 "google.cloud.secretmanager" 37 "google.cloud.secretmanager_v1" 38 "google.cloud.secretmanager_v1beta1" 39 ]; 40 41 meta = with lib; { 42 description = "Secret Manager API API client library"; 43 homepage = "https://github.com/googleapis/python-secret-manager"; 44 license = licenses.asl20; 45 maintainers = with maintainers; [ siriobalmelli SuperSandro2000 ]; 46 }; 47}