Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 19.09 25 lines 717 B view raw
1{ stdenv, fetchFromGitHub 2, buildPythonPackage, python-jose, pyjwt, requests, deprecated, httpretty }: 3 4buildPythonPackage rec { 5 pname = "PyGithub"; 6 version = "1.43.8"; 7 8 src = fetchFromGitHub { 9 owner = "PyGithub"; 10 repo = "PyGithub"; 11 rev = "v${version}"; 12 sha256 = "1625v558xga5mwhl9jqmibywy5qafmg1vqrirqz6zfq1la1d22mw"; 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}