18 buildPythonPackage rec {
23 disabled = pythonOlder "3.8";
25 src = fetchFromGitHub {
28 rev = "refs/tags/v${version}";
29 hash = "sha256-/jtTNQ9r4JJAXLIEEO7lR0IhpJ5vzbV0mNTdKgkH1FE=";
32 pythonRelaxDeps = [ "hishel" ];
34 build-system = [ poetry-core ];
44 optional-dependencies = {
51 auth-oauth-device = [ anyio ];
62 ] ++ lib.flatten (builtins.attrValues optional-dependencies);
64 pythonImportsCheck = [ "githubkit" ];
67 # Tests require network access
73 "test_versioned_async_call"
77 description = "GitHub SDK for Python";
78 homepage = "https://github.com/yanyongyu/githubkit";
79 changelog = "https://github.com/yanyongyu/githubkit/releases/tag/v${version}";
80 license = lib.licenses.mit;
81 maintainers = with lib.maintainers; [ kranzes ];