mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-28 09:53:10 +00:00
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
This commit is contained in:
parent
e32d497623
commit
688fee8b8a
@ -1,31 +1,31 @@
|
||||
{ lib, isPy3k, fetchFromGitHub, buildPythonPackage
|
||||
{ lib, pythonOlder, fetchFromGitHub, buildPythonPackage
|
||||
, six, enum34, pyasn1, cryptography, singledispatch ? null
|
||||
, fetchPypi, pytestCheckHook }:
|
||||
, pytestCheckHook }:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "pgpy";
|
||||
version = "0.5.2";
|
||||
version = "0.5.4";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "SecurityInnovation";
|
||||
repo = "PGPy";
|
||||
rev = version;
|
||||
sha256 = "1v2b1dyq1sl48d2gw7vn4hv6sasd9ihpzzcq8yvxj9dgfak2y663";
|
||||
rev = "v${version}";
|
||||
sha256 = "03pch39y3hi4ici6y6lvz0j0zram8dw2wvnmq1zyjy3vyvm1ms4a";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
six
|
||||
pyasn1
|
||||
cryptography
|
||||
] ++ lib.optionals (pythonOlder "3.4") [
|
||||
singledispatch
|
||||
] ++ lib.optional (!isPy3k) enum34;
|
||||
enum34
|
||||
];
|
||||
|
||||
checkInputs = [
|
||||
pytestCheckHook
|
||||
];
|
||||
|
||||
disabledTests = [ "test_sign_string" "test_verify_string" ];
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://github.com/SecurityInnovation/PGPy";
|
||||
description = "Pretty Good Privacy for Python 2 and 3";
|
||||
@ -35,6 +35,6 @@ buildPythonPackage rec {
|
||||
4880.
|
||||
'';
|
||||
license = licenses.bsd3;
|
||||
maintainers = with maintainers; [ eadwu ];
|
||||
maintainers = with maintainers; [ eadwu dotlambda ];
|
||||
};
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user