forked from mirrors/nixpkgs
python3Packages.PyGithub: cleanup
This commit is contained in:
parent
accee089d9
commit
b95fc98718
|
@ -3,17 +3,16 @@
|
|||
, cryptography
|
||||
, deprecated
|
||||
, fetchFromGitHub
|
||||
, httpretty
|
||||
, isPy3k
|
||||
, parameterized
|
||||
, pynacl
|
||||
, pyjwt
|
||||
, pytestCheckHook
|
||||
, requests }:
|
||||
, pythonOlder
|
||||
, requests
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "PyGithub";
|
||||
version = "1.55";
|
||||
disabled = !isPy3k;
|
||||
disabled = pythonOlder "3.6";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "PyGithub";
|
||||
|
@ -22,17 +21,23 @@ buildPythonPackage rec {
|
|||
sha256 = "sha256-PuGCBFSbM91NtSzuyf0EQUr3LiuHDq90OwkSf53rSyA=";
|
||||
};
|
||||
|
||||
checkInputs = [ httpretty parameterized pytestCheckHook ];
|
||||
propagatedBuildInputs = [ cryptography deprecated pyjwt requests ];
|
||||
propagatedBuildInputs = [
|
||||
cryptography
|
||||
deprecated
|
||||
pynacl
|
||||
pyjwt
|
||||
requests
|
||||
];
|
||||
|
||||
# Test suite makes REST calls against github.com
|
||||
doCheck = false;
|
||||
pythonImportsCheck = [ "github" ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Python library to access the GitHub API v3";
|
||||
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;
|
||||
license = licenses.lgpl3Plus;
|
||||
maintainers = with maintainers; [ jhhuh ];
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue