depot/third_party/nixpkgs/pkgs/development/python-modules/googleapis-common-protos/default.nix
Default email 587713944a Project import generated by Copybara.
GitOrigin-RevId: 6143fc5eeb9c4f00163267708e26191d1e918932
2024-04-21 17:54:59 +02:00

45 lines
806 B
Nix

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