depot/third_party/nixpkgs/pkgs/development/python-modules/grpcio-reflection/default.nix
Default email f34ce41345 Project import generated by Copybara.
GitOrigin-RevId: b73c2221a46c13557b1b3be9c2070cc42cf01eb3
2024-07-27 08:49:29 +02:00

44 lines
797 B
Nix

{
lib,
buildPythonPackage,
fetchPypi,
setuptools,
grpcio,
protobuf,
}:
buildPythonPackage rec {
pname = "grpcio-reflection";
version = "1.65.1";
pyproject = true;
src = fetchPypi {
pname = "grpcio_reflection";
inherit version;
hash = "sha256-5q5ZAPnYAdyXApglUEL7xCaBVG904IwjNt/9Brl2Wr8=";
};
build-system = [ setuptools ];
pythonRelaxDeps = [
"grpcio"
"protobuf"
];
dependencies = [
grpcio
protobuf
];
pythonImportsCheck = [ "grpc_reflection" ];
# no tests
doCheck = false;
meta = with lib; {
description = "Standard Protobuf Reflection Service for gRPC";
homepage = "https://pypi.org/project/grpcio-reflection";
license = with licenses; [ asl20 ];
maintainers = with maintainers; [ happysalada ];
};
}