python3Packages.PyGithub: 1.45 -> 1.47

Upstream dropped python2 support in 1.45, so the `nixpkgs-update` bot has not
been successful in bumping it.

While this still does not run the test suite, it gets us closer.
This commit is contained in:
Benjamin Hipple 2020-04-04 11:26:39 -04:00 committed by Jon
parent 6620221782
commit d20a62ae85

View file

@ -1,22 +1,35 @@
{ stdenv, fetchFromGitHub
, buildPythonPackage, python-jose, pyjwt, requests, deprecated, httpretty }:
{ stdenv
, buildPythonPackage
, cryptography
, deprecated
, fetchFromGitHub
, httpretty
, isPy3k
, parameterized
, pyjwt
, pytestCheckHook
, requests }:
buildPythonPackage rec {
pname = "PyGithub";
version = "1.45";
version = "1.47";
disabled = !isPy3k;
src = fetchFromGitHub {
owner = "PyGithub";
repo = "PyGithub";
rev = "v${version}";
sha256 = "1aiyqwdxpcr7yzz7aqmmjn1g2ajs5bpbln4sax5zw19dqi6qgp9z";
sha256 = "0zvp1gib2lryw698vxkbdv40n3lsmdlhwp7vdcg41dqqa5nfryhn";
};
propagatedBuildInputs = [ python-jose pyjwt requests deprecated httpretty ];
checkInputs = [ httpretty parameterized pytestCheckHook ];
propagatedBuildInputs = [ cryptography deprecated pyjwt requests ];
# Test suite makes REST calls against github.com
doCheck = false;
meta = with stdenv.lib; {
homepage = https://github.com/PyGithub/PyGithub;
homepage = "https://github.com/PyGithub/PyGithub";
description = "A Python (2 and 3) library to access the GitHub API v3";
platforms = platforms.all;
license = licenses.gpl3;