2c76a4cb41
GitOrigin-RevId: c757e9bd77b16ca2e03c89bf8bc9ecb28e0c06ad
36 lines
718 B
Nix
36 lines
718 B
Nix
{ lib
|
|
, buildPythonPackage
|
|
, fetchPypi
|
|
, grpc
|
|
, protobuf
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "googleapis-common-protos";
|
|
version = "1.60.0";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
hash = "sha256-5z67QECY20BbqV0eGuCqkcPhWnHaAxou62suI+e8Nwg=";
|
|
};
|
|
|
|
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; [ ];
|
|
};
|
|
}
|