Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ lib 2, buildPythonPackage 3, fetchPypi 4, grpcio 5, googleapis-common-protos 6}: 7 8buildPythonPackage rec { 9 pname = "grpc-google-iam-v1"; 10 version = "0.12.6"; 11 12 src = fetchPypi { 13 inherit pname version; 14 hash = "sha256-K8S4/fIhFaZddRyTFzKTImAsObfIaiicm3LSKNlg718="; 15 }; 16 17 propagatedBuildInputs = [ grpcio googleapis-common-protos ]; 18 19 # no tests run 20 doCheck = false; 21 22 pythonImportsCheck = [ 23 "google.iam" 24 "google.iam.v1" 25 ]; 26 27 meta = with lib; { 28 description = "GRPC library for the google-iam-v1 service"; 29 homepage = "https://github.com/googleapis/googleapis"; 30 license = licenses.asl20; 31 maintainers = with maintainers; [ SuperSandro2000 ]; 32 }; 33}