Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)

Merge pull request #120847 from fabaff/fix-criticality-score

python3Packages.PyGithub: 1.54.1 -> 1.55

authored by Fabian Affolter and committed by GitHub 349cb2f5 a8afbb45

+17 -12
+17 -12
pkgs/development/python-modules/pyGithub/default.nix
··· 3 , cryptography 4 , deprecated 5 , fetchFromGitHub 6 - , httpretty 7 - , isPy3k 8 - , parameterized 9 , pyjwt 10 - , pytestCheckHook 11 - , requests }: 12 13 buildPythonPackage rec { 14 pname = "PyGithub"; 15 - version = "1.54.1"; 16 - disabled = !isPy3k; 17 18 src = fetchFromGitHub { 19 owner = "PyGithub"; 20 repo = "PyGithub"; 21 rev = "v${version}"; 22 - sha256 = "1nl74bp5ikdnrc8xq0qr25ryl1mvarf0xi43k8w5jzlrllhq0nkq"; 23 }; 24 25 - checkInputs = [ httpretty parameterized pytestCheckHook ]; 26 - propagatedBuildInputs = [ cryptography deprecated pyjwt requests ]; 27 28 # Test suite makes REST calls against github.com 29 doCheck = false; 30 31 meta = with lib; { 32 homepage = "https://github.com/PyGithub/PyGithub"; 33 - description = "A Python (2 and 3) library to access the GitHub API v3"; 34 platforms = platforms.all; 35 - license = licenses.gpl3; 36 maintainers = with maintainers; [ jhhuh ]; 37 }; 38 }
··· 3 , cryptography 4 , deprecated 5 , fetchFromGitHub 6 + , pynacl 7 , pyjwt 8 + , pythonOlder 9 + , requests 10 + }: 11 12 buildPythonPackage rec { 13 pname = "PyGithub"; 14 + version = "1.55"; 15 + disabled = pythonOlder "3.6"; 16 17 src = fetchFromGitHub { 18 owner = "PyGithub"; 19 repo = "PyGithub"; 20 rev = "v${version}"; 21 + sha256 = "sha256-PuGCBFSbM91NtSzuyf0EQUr3LiuHDq90OwkSf53rSyA="; 22 }; 23 24 + propagatedBuildInputs = [ 25 + cryptography 26 + deprecated 27 + pynacl 28 + pyjwt 29 + requests 30 + ]; 31 32 # Test suite makes REST calls against github.com 33 doCheck = false; 34 + pythonImportsCheck = [ "github" ]; 35 36 meta = with lib; { 37 + description = "Python library to access the GitHub API v3"; 38 homepage = "https://github.com/PyGithub/PyGithub"; 39 platforms = platforms.all; 40 + license = licenses.lgpl3Plus; 41 maintainers = with maintainers; [ jhhuh ]; 42 }; 43 }