02cf88bb76
GitOrigin-RevId: c4a0efdd5a728e20791b8d8d2f26f90ac228ee8d
36 lines
736 B
Nix
36 lines
736 B
Nix
{ lib
|
|
, buildPythonPackage
|
|
, fetchPypi
|
|
, grpc
|
|
, protobuf
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "googleapis-common-protos";
|
|
version = "1.56.4";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "sha256-wlhzxHJ5OHz9y9r6NhSYh5AdNiAstkWg5PKWhr9uRBc=";
|
|
};
|
|
|
|
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 ];
|
|
};
|
|
}
|