pythonPackages.pgpy: init at 0.5.2
This commit is contained in:
parent
15eb9f95ab
commit
cd878d09d9
48
pkgs/development/python-modules/pgpy/default.nix
Normal file
48
pkgs/development/python-modules/pgpy/default.nix
Normal file
@ -0,0 +1,48 @@
|
|||||||
|
{ lib, isPy3k, fetchFromGitHub, buildPythonPackage
|
||||||
|
, six, enum34, pyasn1, cryptography, singledispatch
|
||||||
|
, fetchPypi
|
||||||
|
, gpgme, flake8, pytest, pytestcov, pep8-naming, pytest-ordering }:
|
||||||
|
|
||||||
|
buildPythonPackage rec {
|
||||||
|
pname = "pgpy";
|
||||||
|
version = "0.5.2";
|
||||||
|
|
||||||
|
src = fetchFromGitHub {
|
||||||
|
owner = "SecurityInnovation";
|
||||||
|
repo = "PGPy";
|
||||||
|
rev = version;
|
||||||
|
sha256 = "1v2b1dyq1sl48d2gw7vn4hv6sasd9ihpzzcq8yvxj9dgfak2y663";
|
||||||
|
};
|
||||||
|
|
||||||
|
propagatedBuildInputs = [
|
||||||
|
six
|
||||||
|
pyasn1
|
||||||
|
cryptography
|
||||||
|
singledispatch
|
||||||
|
] ++ lib.optional (!isPy3k) enum34;
|
||||||
|
|
||||||
|
checkInputs = [
|
||||||
|
gpgme
|
||||||
|
flake8
|
||||||
|
pytest
|
||||||
|
pytestcov
|
||||||
|
pep8-naming
|
||||||
|
pytest-ordering
|
||||||
|
];
|
||||||
|
|
||||||
|
checkPhase = ''
|
||||||
|
pytest
|
||||||
|
'';
|
||||||
|
|
||||||
|
meta = with lib; {
|
||||||
|
homepage = https://github.com/SecurityInnovation/PGPy;
|
||||||
|
description = "Pretty Good Privacy for Python 2 and 3";
|
||||||
|
longDescription = ''
|
||||||
|
PGPy is a Python (2 and 3) library for implementing Pretty Good Privacy
|
||||||
|
into Python programs, conforming to the OpenPGP specification per RFC
|
||||||
|
4880.
|
||||||
|
'';
|
||||||
|
license = licenses.bsd3;
|
||||||
|
maintainers = with maintainers; [ eadwu ];
|
||||||
|
};
|
||||||
|
}
|
@ -4096,6 +4096,12 @@ in {
|
|||||||
|
|
||||||
pgspecial = callPackage ../development/python-modules/pgspecial { };
|
pgspecial = callPackage ../development/python-modules/pgspecial { };
|
||||||
|
|
||||||
|
pgpy = callPackage ../development/python-modules/pgpy {
|
||||||
|
cryptography = self.cryptography.override {
|
||||||
|
openssl = pkgs.openssl_1_1;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
pickleshare = callPackage ../development/python-modules/pickleshare { };
|
pickleshare = callPackage ../development/python-modules/pickleshare { };
|
||||||
|
|
||||||
piep = callPackage ../development/python-modules/piep { };
|
piep = callPackage ../development/python-modules/piep { };
|
||||||
|
Loading…
x
Reference in New Issue
Block a user