Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 20.03 25 lines 715 B view raw
1{ stdenv, fetchFromGitHub 2, buildPythonPackage, python-jose, pyjwt, requests, deprecated, httpretty }: 3 4buildPythonPackage rec { 5 pname = "PyGithub"; 6 version = "1.45"; 7 8 src = fetchFromGitHub { 9 owner = "PyGithub"; 10 repo = "PyGithub"; 11 rev = "v${version}"; 12 sha256 = "1aiyqwdxpcr7yzz7aqmmjn1g2ajs5bpbln4sax5zw19dqi6qgp9z"; 13 }; 14 15 propagatedBuildInputs = [ python-jose pyjwt requests deprecated httpretty ]; 16 doCheck = false; 17 18 meta = with stdenv.lib; { 19 homepage = https://github.com/PyGithub/PyGithub; 20 description = "A Python (2 and 3) library to access the GitHub API v3"; 21 platforms = platforms.all; 22 license = licenses.gpl3; 23 maintainers = with maintainers; [ jhhuh ]; 24 }; 25}