forked from mirrors/nixpkgs
python3Packages.PyGithub: cleanup
This commit is contained in:
parent
accee089d9
commit
b95fc98718
|
@ -3,17 +3,16 @@
|
||||||
, 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.55";
|
version = "1.55";
|
||||||
disabled = !isPy3k;
|
disabled = pythonOlder "3.6";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "PyGithub";
|
owner = "PyGithub";
|
||||||
|
@ -22,17 +21,23 @@ buildPythonPackage rec {
|
||||||
sha256 = "sha256-PuGCBFSbM91NtSzuyf0EQUr3LiuHDq90OwkSf53rSyA=";
|
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…
Reference in a new issue