3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/development/python-modules/googleapis-common-protos/default.nix

37 lines
749 B
Nix

{ lib
, buildPythonPackage
, fetchPypi
, grpc
, protobuf
}:
buildPythonPackage rec {
pname = "googleapis-common-protos";
version = "1.53.0";
src = fetchPypi {
inherit pname version;
sha256 = "a88ee8903aa0a81f6c3cec2d5cf62d3c8aa67c06439b0496b49048fb1854ebf4";
};
propagatedBuildInputs = [ grpc protobuf ];
# does not contain tests
doCheck = false;
pythonImportsCheck = [
"google.api"
"google.logging"
"google.longrunning"
"google.rpc"
"google.type"
];
meta = with lib; {
description = "Common protobufs used in Google APIs";
homepage = "https://github.com/googleapis/python-api-common-protos";
license = licenses.asl20;
maintainers = with maintainers; [ SuperSandro2000 ];
};
}