Files
nixpkgs/pkgs/development/python-modules/grpcio-reflection/default.nix
T
Martin Weinelt abdf5dc772 treewide: remove pythonRelaxDepsHook references
It is is now provided automatically, when `pythonRelaxDeps` or
`pythonRemoveDeps` is defined through `mk-python-derivation`.
2024-06-14 14:52:00 +02:00

38 lines
715 B
Nix

{
lib,
buildPythonPackage,
fetchPypi,
grpcio,
protobuf,
}:
buildPythonPackage rec {
pname = "grpcio-reflection";
version = "1.62.2";
format = "setuptools";
src = fetchPypi {
inherit pname version;
hash = "sha256-LdRIBtaNAAZjZSm9pXMBKxmkIoFHjC0FHNquu5HiUWw=";
};
pythonRelaxDeps = [ "grpcio" ];
propagatedBuildInputs = [
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 ];
};
}