mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-17 07:13:23 +01:00
python3Packages.PyGithub: 1.36 -> 1.43.8
This commit is contained in:
parent
a4cc672ace
commit
a261f43286
1 changed files with 6 additions and 9 deletions
|
@ -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";
|
||||
|
|
Loading…
Reference in a new issue