Merge pull request #120847 from fabaff/fix-criticality-score
python3Packages.PyGithub: 1.54.1 -> 1.55
This commit is contained in:
commit
349cb2f5c2
@ -3,36 +3,41 @@
|
|||||||
, cryptography
|
, cryptography
|
||||||
, deprecated
|
, deprecated
|
||||||
, fetchFromGitHub
|
, fetchFromGitHub
|
||||||
, httpretty
|
, pynacl
|
||||||
, isPy3k
|
|
||||||
, parameterized
|
|
||||||
, pyjwt
|
, pyjwt
|
||||||
, pytestCheckHook
|
, pythonOlder
|
||||||
, requests }:
|
, requests
|
||||||
|
}:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "PyGithub";
|
pname = "PyGithub";
|
||||||
version = "1.54.1";
|
version = "1.55";
|
||||||
disabled = !isPy3k;
|
disabled = pythonOlder "3.6";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "PyGithub";
|
owner = "PyGithub";
|
||||||
repo = "PyGithub";
|
repo = "PyGithub";
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
sha256 = "1nl74bp5ikdnrc8xq0qr25ryl1mvarf0xi43k8w5jzlrllhq0nkq";
|
sha256 = "sha256-PuGCBFSbM91NtSzuyf0EQUr3LiuHDq90OwkSf53rSyA=";
|
||||||
};
|
};
|
||||||
|
|
||||||
checkInputs = [ httpretty parameterized pytestCheckHook ];
|
propagatedBuildInputs = [
|
||||||
propagatedBuildInputs = [ cryptography deprecated pyjwt requests ];
|
cryptography
|
||||||
|
deprecated
|
||||||
|
pynacl
|
||||||
|
pyjwt
|
||||||
|
requests
|
||||||
|
];
|
||||||
|
|
||||||
# Test suite makes REST calls against github.com
|
# Test suite makes REST calls against github.com
|
||||||
doCheck = false;
|
doCheck = false;
|
||||||
|
pythonImportsCheck = [ "github" ];
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
|
description = "Python library to access the GitHub API v3";
|
||||||
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;
|
platforms = platforms.all;
|
||||||
license = licenses.gpl3;
|
license = licenses.lgpl3Plus;
|
||||||
maintainers = with maintainers; [ jhhuh ];
|
maintainers = with maintainers; [ jhhuh ];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user