Files
nixpkgs/pkgs/development/python-modules/grpcio-reflection/default.nix
Dark Steveneq 646b892680
Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
push sheeet
2025-10-09 14:15:47 +02:00

48 lines
941 B
Nix

{
lib,
buildPythonPackage,
fetchPypi,
setuptools,
grpcio,
protobuf,
}:
# This package should be updated together with the main grpc package and other
# related python grpc packages.
# nixpkgs-update: no auto update
buildPythonPackage rec {
pname = "grpcio-reflection";
version = "1.75.0";
pyproject = true;
src = fetchPypi {
pname = "grpcio_reflection";
inherit version;
hash = "sha256-YLuYZfVBGtWJQg6tzdfgwzjAqr7fXUzQc2PVv32pyXI=";
};
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 ];
};
}