aerospike: 8.0.0.1 -> 8.0.0.2 (#380565)
[NixPkgs.git] / pkgs / development / python-modules / gidgethub / default.nix
blobac7549c9891e67c9f93dd8d3046071d421624214
2   lib,
3   buildPythonPackage,
4   fetchPypi,
5   pythonOlder,
6   flit,
7   uritemplate,
8   pyjwt,
9   pytestCheckHook,
10   aiohttp,
11   httpx,
12   importlib-resources,
13   pytest-asyncio,
14   pytest-tornasync,
17 buildPythonPackage rec {
18   pname = "gidgethub";
19   version = "5.3.0";
20   format = "pyproject";
22   disabled = pythonOlder "3.6";
24   src = fetchPypi {
25     inherit pname version;
26     hash = "sha256-ns59N/vOuBm4BWDn7Vj5NuSKZdN+xfVtt5FFFWtCaiU=";
27   };
29   nativeBuildInputs = [ flit ];
31   propagatedBuildInputs = [
32     uritemplate
33     pyjwt
34   ] ++ pyjwt.optional-dependencies.crypto;
36   nativeCheckInputs = [
37     pytestCheckHook
38     aiohttp
39     httpx
40     importlib-resources
41     pytest-asyncio
42     pytest-tornasync
43   ];
45   disabledTests = [
46     # Require internet connection
47     "test__request"
48     "test_get"
49   ];
51   meta = with lib; {
52     description = "Async GitHub API library";
53     homepage = "https://github.com/brettcannon/gidgethub";
54     license = licenses.asl20;
55     maintainers = [ ];
56   };