python3Packages.PyGithub: 1.36 -> 1.43.8

This commit is contained in:
tilpner 2019-07-22 13:57:04 +02:00 committed by Frederik Rietdijk
parent a4cc672ace
commit a261f43286

View file

@ -1,23 +1,20 @@
{ stdenv, fetchFromGitHub
, buildPythonPackage, python-jose, pyjwt }:
, buildPythonPackage, python-jose, pyjwt, requests, deprecated, httpretty }:
buildPythonPackage rec {
pname = "PyGithub";
version = "1.36";
name = pname + "-" + version;
version = "1.43.8";
src = fetchFromGitHub {
owner = "PyGithub";
repo = "PyGithub";
rev = "v${version}";
sha256 = "0yb74f9hg2vdsy766m850hfb1ss17lbgcdvvklm4qf72w12nxc5w";
sha256 = "1625v558xga5mwhl9jqmibywy5qafmg1vqrirqz6zfq1la1d22mw";
};
postPatch = ''
# requires network
echo "" > github/tests/Issue142.py
'';
propagatedBuildInputs = [ python-jose pyjwt ];
propagatedBuildInputs = [ python-jose pyjwt requests deprecated httpretty ];
doCheck = false;
meta = with stdenv.lib; {
homepage = https://github.com/PyGithub/PyGithub;
description = "A Python (2 and 3) library to access the GitHub API v3";