dogedns: 0.2.6 -> 0.2.8 (#340101)
[NixPkgs.git] / pkgs / development / python-modules / grpclib / default.nix
blobd88500f6a296823131e252557320c2757fab90f5
2   lib,
3   async-timeout,
4   buildPythonPackage,
5   certifi,
6   faker,
7   fetchFromGitHub,
8   googleapis-common-protos,
9   h2,
10   multidict,
11   pytest-asyncio,
12   pytestCheckHook,
13   pythonOlder,
14   setuptools,
17 buildPythonPackage rec {
18   pname = "grpclib";
19   version = "0.4.7";
20   pyproject = true;
22   disabled = pythonOlder "3.7";
24   src = fetchFromGitHub {
25     owner = "vmagamedov";
26     repo = "grpclib";
27     rev = "refs/tags/v${version}";
28     hash = "sha256-5221hVjD0TynCsTdruiUZkTsb7uOi49tZ8M/YqdWreE=";
29   };
31   build-system = [ setuptools ];
33   dependencies = [
34     h2
35     multidict
36   ];
38   nativeCheckInputs = [
39     pytestCheckHook
40     pytest-asyncio
41     async-timeout
42     faker
43     googleapis-common-protos
44     certifi
45   ];
47   pythonImportsCheck = [ "grpclib" ];
49   meta = with lib; {
50     description = "Pure-Python gRPC implementation for asyncio";
51     homepage = "https://github.com/vmagamedov/grpclib";
52     changelog = "https://github.com/vmagamedov/grpclib/blob/v${version}/docs/changelog/index.rst";
53     license = licenses.bsd3;
54     maintainers = with maintainers; [ nikstur ];
55   };