Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
1.1 kB · 56 lines
Nix
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657{ lib, buildPythonPackage, deprecated, fetchFromGitHub, pynacl, typing-extensions, pyjwt, pythonOlder, requests, setuptools, setuptools-scm, urllib3,}:
buildPythonPackage rec { pname = "pygithub"; version = "2.3.0"; pyproject = true;
disabled = pythonOlder "3.7";
src = fetchFromGitHub { owner = "PyGithub"; repo = "PyGithub"; rev = "refs/tags/v${version}"; hash = "sha256-ccAbn9x1r+wBIAK66ur8+2Op9ij09rQvHumq5Wh7TUU="; };
build-system = [ setuptools setuptools-scm ];
dependencies = [ deprecated pyjwt pynacl requests typing-extensions urllib3 ] ++ pyjwt.optional-dependencies.crypto;
# Test suite makes REST calls against github.com doCheck = false;
pythonImportsCheck = [ "github" ];
meta = with lib; { description = "Python library to access the GitHub API v3"; homepage = "https://github.com/PyGithub/PyGithub"; changelog = "https://github.com/PyGithub/PyGithub/raw/v${version}/doc/changes.rst"; license = licenses.lgpl3Plus; maintainers = with maintainers; [ jhhuh ]; };}