49 lines
957 B
Nix
49 lines
957 B
Nix
{
|
|
lib,
|
|
buildPythonPackage,
|
|
fetchPypi,
|
|
grpc,
|
|
protobuf,
|
|
pythonOlder,
|
|
setuptools,
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "googleapis-common-protos";
|
|
version = "1.65.0";
|
|
pyproject = true;
|
|
|
|
disabled = pythonOlder "3.7";
|
|
|
|
src = fetchPypi {
|
|
pname = "googleapis_common_protos";
|
|
inherit version;
|
|
hash = "sha256-M0op0Hzdw6oB3uSYj5r9mykW7i/0nWt1cVXcDRl4UsA=";
|
|
};
|
|
|
|
build-system = [ setuptools ];
|
|
|
|
dependencies = [
|
|
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";
|
|
changelog = "https://github.com/googleapis/python-api-common-protos/releases/tag/v${version}";
|
|
license = licenses.asl20;
|
|
maintainers = [ ];
|
|
};
|
|
}
|