nixpkgs/pkgs/development/python-modules/grpc-google-iam-v1/default.nix
Martin Weinelt 0215034f25 python3.pkgs: Migrate fetchers to use hash
when they already rely on SRI hashes.
2023-03-03 23:59:29 +01:00

34 lines
685 B
Nix

{ lib
, buildPythonPackage
, fetchPypi
, grpcio
, googleapis-common-protos
}:
buildPythonPackage rec {
pname = "grpc-google-iam-v1";
version = "0.12.6";
src = fetchPypi {
inherit pname version;
hash = "sha256-K8S4/fIhFaZddRyTFzKTImAsObfIaiicm3LSKNlg718=";
};
propagatedBuildInputs = [ grpcio googleapis-common-protos ];
# no tests run
doCheck = false;
pythonImportsCheck = [
"google.iam"
"google.iam.v1"
];
meta = with lib; {
description = "GRPC library for the google-iam-v1 service";
homepage = "https://github.com/googleapis/googleapis";
license = licenses.asl20;
maintainers = with maintainers; [ SuperSandro2000 ];
};
}