depot/third_party/nixpkgs/pkgs/development/python-modules/googleapis-common-protos/default.nix
Default email e7ec2969af Project import generated by Copybara.
GitOrigin-RevId: 9b19f5e77dd906cb52dade0b7bd280339d2a1f3d
2024-01-13 09:15:51 +01:00

45 lines
806 B
Nix

{ lib
, buildPythonPackage
, fetchPypi
, setuptools
, grpc
, protobuf
}:
buildPythonPackage rec {
pname = "googleapis-common-protos";
version = "1.61.0";
pyproject = true;
src = fetchPypi {
inherit pname version;
hash = "sha256-imSGapf2MEpxeYc6Rl1u7pe3ok7Gz9eOD1delrghJAs=";
};
nativeBuildInputs = [
setuptools
];
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; [ ];
};
}