biome: 1.9.2 -> 1.9.3 (#349335)
[NixPkgs.git] / pkgs / development / python-modules / pgpy / default.nix
blobd9366a75427687102ceaf4a0d524c5d061255343
2   lib,
3   pythonOlder,
4   fetchFromGitHub,
5   buildPythonPackage,
6   setuptools,
7   pyasn1,
8   cryptography,
9   pytestCheckHook,
12 buildPythonPackage rec {
13   pname = "pgpy";
14   version = "0.6.0";
16   disabled = pythonOlder "3.6";
18   format = "pyproject";
20   src = fetchFromGitHub {
21     owner = "SecurityInnovation";
22     repo = "PGPy";
23     rev = "v${version}";
24     hash = "sha256-47YiHNxmjyCOYHHUV3Zyhs3Att9HZtCXYfbN34ooTxU=";
25   };
27   nativeBuildInputs = [ setuptools ];
29   propagatedBuildInputs = [
30     pyasn1
31     cryptography
32   ];
34   nativeCheckInputs = [ pytestCheckHook ];
36   meta = with lib; {
37     homepage = "https://github.com/SecurityInnovation/PGPy";
38     description = "Pretty Good Privacy for Python";
39     longDescription = ''
40       PGPy is a Python library for implementing Pretty Good Privacy into Python
41       programs, conforming to the OpenPGP specification per RFC 4880.
42     '';
43     license = licenses.bsd3;
44     maintainers = with maintainers; [
45       eadwu
46       dotlambda
47     ];
48   };