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
57 lines
1.1 KiB
Nix
57 lines
1.1 KiB
Nix
{
|
|
lib,
|
|
async-timeout,
|
|
buildPythonPackage,
|
|
certifi,
|
|
faker,
|
|
fetchFromGitHub,
|
|
googleapis-common-protos,
|
|
h2,
|
|
multidict,
|
|
pytest-asyncio_0,
|
|
pytestCheckHook,
|
|
pythonOlder,
|
|
setuptools,
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "grpclib";
|
|
version = "0.4.8";
|
|
pyproject = true;
|
|
|
|
disabled = pythonOlder "3.7";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "vmagamedov";
|
|
repo = "grpclib";
|
|
tag = "v${version}";
|
|
hash = "sha256-Z+DMwGMUxNTQ7ABd4q/FgMHEZ/NCOtst+6QfQJm3jVU=";
|
|
};
|
|
|
|
build-system = [ setuptools ];
|
|
|
|
dependencies = [
|
|
h2
|
|
multidict
|
|
];
|
|
|
|
nativeCheckInputs = [
|
|
pytestCheckHook
|
|
pytest-asyncio_0
|
|
async-timeout
|
|
faker
|
|
googleapis-common-protos
|
|
certifi
|
|
];
|
|
|
|
pythonImportsCheck = [ "grpclib" ];
|
|
|
|
meta = with lib; {
|
|
description = "Pure-Python gRPC implementation for asyncio";
|
|
homepage = "https://github.com/vmagamedov/grpclib";
|
|
changelog = "https://github.com/vmagamedov/grpclib/blob/v${version}/docs/changelog/index.rst";
|
|
license = licenses.bsd3;
|
|
maintainers = with maintainers; [ nikstur ];
|
|
};
|
|
}
|