Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
1.5 kB · 82 lines
Nix
at flake-libs
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283{ lib, anyio, buildPythonPackage, fetchFromGitHub, hishel, httpx, poetry-core, pydantic, pyjwt, pytest-cov-stub, pytest-xdist, pytestCheckHook, pythonOlder, typing-extensions,}:
buildPythonPackage rec { pname = "githubkit"; version = "0.12.13"; pyproject = true;
disabled = pythonOlder "3.9";
src = fetchFromGitHub { owner = "yanyongyu"; repo = "githubkit"; tag = "v${version}"; hash = "sha256-TMn81YY44bXUyU6GHSGtLtQ7aC2/vA9nZf/PaGhBi0s="; };
pythonRelaxDeps = [ "hishel" ];
build-system = [ poetry-core ];
dependencies = [ hishel httpx pydantic typing-extensions ];
optional-dependencies = { all = [ anyio pyjwt ]; jwt = [ pyjwt ]; auth-app = [ pyjwt ]; auth-oauth-device = [ anyio ]; auth = [ anyio pyjwt ]; };
nativeCheckInputs = [ pytestCheckHook pytest-cov-stub pytest-xdist ] ++ lib.flatten (builtins.attrValues optional-dependencies);
pythonImportsCheck = [ "githubkit" ];
disabledTests = [ # Tests require network access "test_graphql" "test_async_graphql" "test_call" "test_async_call" "test_versioned_call" "test_versioned_async_call" ];
meta = { description = "GitHub SDK for Python"; homepage = "https://github.com/yanyongyu/githubkit"; changelog = "https://github.com/yanyongyu/githubkit/releases/tag/${src.tag}"; license = lib.licenses.mit; maintainers = with lib.maintainers; [ kranzes ]; };}