1 { lib, isPy3k, fetchFromGitHub, buildPythonPackage
2 , six, enum34, pyasn1, cryptography, singledispatch
3 , fetchPypi, pytestCheckHook }:
5 buildPythonPackage rec {
9 src = fetchFromGitHub {
10 owner = "SecurityInnovation";
13 sha256 = "1v2b1dyq1sl48d2gw7vn4hv6sasd9ihpzzcq8yvxj9dgfak2y663";
16 propagatedBuildInputs = [
21 ] ++ lib.optional (!isPy3k) enum34;
27 disabledTests = [ "test_sign_string" "test_verify_string" ];
30 homepage = "https://github.com/SecurityInnovation/PGPy";
31 description = "Pretty Good Privacy for Python 2 and 3";
33 PGPy is a Python (2 and 3) library for implementing Pretty Good Privacy
34 into Python programs, conforming to the OpenPGP specification per RFC
37 license = licenses.bsd3;
38 maintainers = with maintainers; [ eadwu ];