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:
parent
6620221782
commit
d20a62ae85
1 changed files with 19 additions and 6 deletions
|
@ -1,22 +1,35 @@
|
||||||
{ stdenv, fetchFromGitHub
|
{ stdenv
|
||||||
, buildPythonPackage, python-jose, pyjwt, requests, deprecated, httpretty }:
|
, buildPythonPackage
|
||||||
|
, cryptography
|
||||||
|
, deprecated
|
||||||
|
, fetchFromGitHub
|
||||||
|
, httpretty
|
||||||
|
, isPy3k
|
||||||
|
, parameterized
|
||||||
|
, pyjwt
|
||||||
|
, pytestCheckHook
|
||||||
|
, requests }:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "PyGithub";
|
pname = "PyGithub";
|
||||||
version = "1.45";
|
version = "1.47";
|
||||||
|
disabled = !isPy3k;
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "PyGithub";
|
owner = "PyGithub";
|
||||||
repo = "PyGithub";
|
repo = "PyGithub";
|
||||||
rev = "v${version}";
|
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;
|
doCheck = false;
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
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";
|
description = "A Python (2 and 3) library to access the GitHub API v3";
|
||||||
platforms = platforms.all;
|
platforms = platforms.all;
|
||||||
license = licenses.gpl3;
|
license = licenses.gpl3;
|
||||||
|
|
Loading…
Reference in a new issue