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

pythonPackages.pgpy: 0.5.2 -> 0.5.4 (#121270)

https://github.com/SecurityInnovation/PGPy/releases/tag/v0.5.3
https://github.com/SecurityInnovation/PGPy/releases/tag/v0.5.4

authored by Robert Schütz and committed by GitHub 688fee8b e32d4976

+9 -9
+9 -9
pkgs/development/python-modules/pgpy/default.nix
··· 1 - { lib, isPy3k, fetchFromGitHub, buildPythonPackage 2 , six, enum34, pyasn1, cryptography, singledispatch ? null 3 - , fetchPypi, pytestCheckHook }: 4 5 buildPythonPackage rec { 6 pname = "pgpy"; 7 - version = "0.5.2"; 8 9 src = fetchFromGitHub { 10 owner = "SecurityInnovation"; 11 repo = "PGPy"; 12 - rev = version; 13 - sha256 = "1v2b1dyq1sl48d2gw7vn4hv6sasd9ihpzzcq8yvxj9dgfak2y663"; 14 }; 15 16 propagatedBuildInputs = [ 17 six 18 pyasn1 19 cryptography 20 singledispatch 21 - ] ++ lib.optional (!isPy3k) enum34; 22 23 checkInputs = [ 24 pytestCheckHook 25 ]; 26 27 - disabledTests = [ "test_sign_string" "test_verify_string" ]; 28 - 29 meta = with lib; { 30 homepage = "https://github.com/SecurityInnovation/PGPy"; 31 description = "Pretty Good Privacy for Python 2 and 3"; ··· 35 4880. 36 ''; 37 license = licenses.bsd3; 38 - maintainers = with maintainers; [ eadwu ]; 39 }; 40 }
··· 1 + { lib, pythonOlder, fetchFromGitHub, buildPythonPackage 2 , six, enum34, pyasn1, cryptography, singledispatch ? null 3 + , pytestCheckHook }: 4 5 buildPythonPackage rec { 6 pname = "pgpy"; 7 + version = "0.5.4"; 8 9 src = fetchFromGitHub { 10 owner = "SecurityInnovation"; 11 repo = "PGPy"; 12 + rev = "v${version}"; 13 + sha256 = "03pch39y3hi4ici6y6lvz0j0zram8dw2wvnmq1zyjy3vyvm1ms4a"; 14 }; 15 16 propagatedBuildInputs = [ 17 six 18 pyasn1 19 cryptography 20 + ] ++ lib.optionals (pythonOlder "3.4") [ 21 singledispatch 22 + enum34 23 + ]; 24 25 checkInputs = [ 26 pytestCheckHook 27 ]; 28 29 meta = with lib; { 30 homepage = "https://github.com/SecurityInnovation/PGPy"; 31 description = "Pretty Good Privacy for Python 2 and 3"; ··· 35 4880. 36 ''; 37 license = licenses.bsd3; 38 + maintainers = with maintainers; [ eadwu dotlambda ]; 39 }; 40 }