2021-01-25 08:26:54 +00:00
|
|
|
{ lib
|
2021-01-05 11:29:31 +00:00
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
|
|
|
, grpc
|
|
|
|
, protobuf
|
|
|
|
, pytestCheckHook
|
|
|
|
}:
|
2017-12-20 22:44:21 +00:00
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "googleapis-common-protos";
|
2020-06-06 07:47:11 +01:00
|
|
|
version = "1.52.0";
|
2017-12-20 22:44:21 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2021-01-05 11:29:31 +00:00
|
|
|
sha256 = "0lakcsd35qm5x4visvw6z5f1niasv9a0mjyf2bd98wqi0z41c1sn";
|
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
|
|
|
};
|
|
|
|
}
|