Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)

PyGithub: update to 1.3.6

+4 -4
+4 -4
pkgs/development/python-modules/pyGithub/default.nix
··· 1 { stdenv, fetchFromGitHub 2 , cacert 3 - , buildPythonPackage, python-jose }: 4 5 buildPythonPackage rec { 6 pname = "PyGithub"; 7 - version = "1.32"; 8 name = pname + "-" + version; 9 10 src = fetchFromGitHub { 11 owner = "PyGithub"; 12 repo = "PyGithub"; 13 rev = "v${version}"; 14 - sha256 = "15dr9ja63zdxax9lg6q2kcakqa82dpffyhgpjr13wq3sfkcy5pdw"; 15 }; 16 17 postPatch = '' 18 # requires network 19 echo "" > github/tests/Issue142.py 20 ''; 21 - propagatedBuildInputs = [ python-jose ]; 22 meta = with stdenv.lib; { 23 homepage = https://github.com/PyGithub/PyGithub; 24 description = "A Python (2 and 3) library to access the GitHub API v3";
··· 1 { stdenv, fetchFromGitHub 2 , cacert 3 + , buildPythonPackage, python-jose, pyjwt }: 4 5 buildPythonPackage rec { 6 pname = "PyGithub"; 7 + version = "1.36"; 8 name = pname + "-" + version; 9 10 src = fetchFromGitHub { 11 owner = "PyGithub"; 12 repo = "PyGithub"; 13 rev = "v${version}"; 14 + sha256 = "0yb74f9hg2vdsy766m850hfb1ss17lbgcdvvklm4qf72w12nxc5w"; 15 }; 16 17 postPatch = '' 18 # requires network 19 echo "" > github/tests/Issue142.py 20 ''; 21 + propagatedBuildInputs = [ python-jose pyjwt ]; 22 meta = with stdenv.lib; { 23 homepage = https://github.com/PyGithub/PyGithub; 24 description = "A Python (2 and 3) library to access the GitHub API v3";