blob: 58802844660c13f1590adb31af1b9bb7b0a86018 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
|
{
lib,
async-timeout,
buildPythonPackage,
certifi,
faker,
fetchFromGitHub,
googleapis-common-protos,
h2,
multidict,
pytest-asyncio,
pytestCheckHook,
setuptools,
}:
buildPythonPackage rec {
pname = "grpclib";
version = "0.4.9";
pyproject = true;
src = fetchFromGitHub {
owner = "vmagamedov";
repo = "grpclib";
tag = "v${version}";
hash = "sha256-9ElCIL084B+KihV1AXYJejBletj8y6LnoWRGEj4E1tQ=";
};
build-system = [ setuptools ];
dependencies = [
h2
multidict
];
nativeCheckInputs = [
pytestCheckHook
pytest-asyncio
async-timeout
faker
googleapis-common-protos
certifi
];
__darwinAllowLocalNetworking = true;
pythonImportsCheck = [ "grpclib" ];
meta = {
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 = lib.licenses.bsd3;
};
}
|