18 buildPythonPackage rec {
23 disabled = pythonOlder "3.9";
25 src = fetchFromGitHub {
29 hash = "sha256-h2XoHb3ukh6MKQG2v0TZg81mcwNGk4cfK8CWjzhM8W4=";
32 pythonRelaxDeps = [ "hishel" ];
34 build-system = [ poetry-core ];
43 optional-dependencies = {
50 auth-oauth-device = [ anyio ];
61 ] ++ lib.flatten (builtins.attrValues optional-dependencies);
63 pythonImportsCheck = [ "githubkit" ];
66 # Tests require network access
72 "test_versioned_async_call"
76 description = "GitHub SDK for Python";
77 homepage = "https://github.com/yanyongyu/githubkit";
78 changelog = "https://github.com/yanyongyu/githubkit/releases/tag/v${version}";
79 license = lib.licenses.mit;
80 maintainers = with lib.maintainers; [ kranzes ];