2021-01-25 08:26:54 +00:00
|
|
|
{ lib
|
2021-01-05 11:29:31 +00:00
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
|
|
|
, grpc
|
|
|
|
, protobuf
|
|
|
|
}:
|
2017-12-20 22:44:21 +00:00
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "googleapis-common-protos";
|
2022-01-24 02:28:22 +00:00
|
|
|
version = "1.54.0";
|
2017-12-20 22:44:21 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2022-01-24 02:28:22 +00:00
|
|
|
sha256 = "sha256-pAMdbsbCsbbcPgvn4Qob1y+wsYsH75vntR8sEATOJDc=";
|
2017-12-20 22:44:21 +00:00
|
|
|
};
|
|
|
|
|
2021-01-05 11:29:31 +00:00
|
|
|
propagatedBuildInputs = [ grpc protobuf ];
|
2017-12-20 22:44:21 +00:00
|
|
|
|
2021-01-05 11:29:31 +00:00
|
|
|
# does not contain tests
|
|
|
|
doCheck = false;
|
|
|
|
|
|
|
|
pythonImportsCheck = [
|
|
|
|
"google.api"
|
|
|
|
"google.logging"
|
|
|
|
"google.longrunning"
|
|
|
|
"google.rpc"
|
|
|
|
"google.type"
|
|
|
|
];
|
2017-12-20 22:44:21 +00:00
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2017-12-20 22:44:21 +00:00
|
|
|
description = "Common protobufs used in Google APIs";
|
2021-01-05 11:29:31 +00:00
|
|
|
homepage = "https://github.com/googleapis/python-api-common-protos";
|
2017-12-20 22:44:21 +00:00
|
|
|
license = licenses.asl20;
|
2021-01-05 11:29:31 +00:00
|
|
|
maintainers = with maintainers; [ SuperSandro2000 ];
|
2017-12-20 22:44:21 +00:00
|
|
|
};
|
|
|
|
}
|