Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 20.09-beta 33 lines 740 B view raw
1{ stdenv 2, buildPythonPackage 3, fetchPypi 4, enum34 5, grpc_google_iam_v1 6, google_api_core 7, pytest 8, mock 9}: 10 11buildPythonPackage rec { 12 pname = "google-cloud-kms"; 13 version = "2.0.1"; 14 15 src = fetchPypi { 16 inherit pname version; 17 sha256 = "c590a8ab12a3f776ab35e570d21c0881f9d73c444bd509e54321a4c715233372"; 18 }; 19 20 checkInputs = [ pytest mock ]; 21 propagatedBuildInputs = [ enum34 grpc_google_iam_v1 google_api_core ]; 22 23 checkPhase = '' 24 pytest tests/unit 25 ''; 26 27 meta = with stdenv.lib; { 28 description = "Cloud Key Management Service (KMS) API API client library"; 29 homepage = "https://github.com/GoogleCloudPlatform/google-cloud-python"; 30 license = licenses.asl20; 31 maintainers = [ maintainers.costrouc ]; 32 }; 33}