Robert Schütz 3 years ago committed by GitHub
parent e32d497623
commit 688fee8b8a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 18
      pkgs/development/python-modules/pgpy/default.nix

@ -1,31 +1,31 @@
{ lib, isPy3k, fetchFromGitHub, buildPythonPackage { lib, pythonOlder, fetchFromGitHub, buildPythonPackage
, six, enum34, pyasn1, cryptography, singledispatch ? null , six, enum34, pyasn1, cryptography, singledispatch ? null
, fetchPypi, pytestCheckHook }: , pytestCheckHook }:
buildPythonPackage rec { buildPythonPackage rec {
pname = "pgpy"; pname = "pgpy";
version = "0.5.2"; version = "0.5.4";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "SecurityInnovation"; owner = "SecurityInnovation";
repo = "PGPy"; repo = "PGPy";
rev = version; rev = "v${version}";
sha256 = "1v2b1dyq1sl48d2gw7vn4hv6sasd9ihpzzcq8yvxj9dgfak2y663"; sha256 = "03pch39y3hi4ici6y6lvz0j0zram8dw2wvnmq1zyjy3vyvm1ms4a";
}; };
propagatedBuildInputs = [ propagatedBuildInputs = [
six six
pyasn1 pyasn1
cryptography cryptography
] ++ lib.optionals (pythonOlder "3.4") [
singledispatch singledispatch
] ++ lib.optional (!isPy3k) enum34; enum34
];
checkInputs = [ checkInputs = [
pytestCheckHook pytestCheckHook
]; ];
disabledTests = [ "test_sign_string" "test_verify_string" ];
meta = with lib; { meta = with lib; {
homepage = "https://github.com/SecurityInnovation/PGPy"; homepage = "https://github.com/SecurityInnovation/PGPy";
description = "Pretty Good Privacy for Python 2 and 3"; description = "Pretty Good Privacy for Python 2 and 3";
@ -35,6 +35,6 @@ buildPythonPackage rec {
4880. 4880.
''; '';
license = licenses.bsd3; license = licenses.bsd3;
maintainers = with maintainers; [ eadwu ]; maintainers = with maintainers; [ eadwu dotlambda ];
}; };
} }

Loading…
Cancel
Save