pythonPackages.pgpdump: refactor move to python-modules

This commit is contained in:
Chris Ostrouchov 2018-10-26 13:32:15 -04:00 committed by Frederik Rietdijk
parent 008612f022
commit 162a894ec5
2 changed files with 25 additions and 18 deletions

View file

@ -0,0 +1,24 @@
{ stdenv
, buildPythonPackage
, fetchPypi
}:
buildPythonPackage rec {
pname = "pgpdump";
version = "1.5";
src = fetchPypi {
inherit pname version;
sha256 = "0s4nh8h7qsdj2yf29bspjs1zvxd4lcd11r6g11dp7fppgf2h0iqw";
};
# Disabling check because of: https://github.com/toofishes/python-pgpdump/issues/18
doCheck = false;
meta = with stdenv.lib; {
description = "Python library for parsing PGP packets";
homepage = https://github.com/toofishes/python-pgpdump;
license = licenses.bsd3;
};
}

View file

@ -3745,25 +3745,8 @@ in {
sqlobject = callPackage ../development/python-modules/sqlobject { };
sqlmap = callPackage ../development/python-modules/sqlmap { };
pgpdump = self.buildPythonPackage rec {
pname = "pgpdump";
version = "1.5";
name = "${pname}-${version}";
src = fetchPypi {
inherit pname version;
sha256 = "0s4nh8h7qsdj2yf29bspjs1zvxd4lcd11r6g11dp7fppgf2h0iqw";
};
# Disabling check because of: https://github.com/toofishes/python-pgpdump/issues/18
doCheck = false;
meta = {
description = "Python library for parsing PGP packets";
homepage = https://github.com/toofishes/python-pgpdump;
license = licenses.bsd3;
};
};
pgpdump = callPackage ../development/python-modules/pgpdump { };
spambayes = callPackage ../development/python-modules/spambayes { };