pythonPackages.dkimpy: 0.6.1 -> 0.6.2
This commit is contained in:
parent
fcb6e72ddf
commit
ee38a35f95
@ -5,20 +5,25 @@ buildPythonApplication rec {
|
|||||||
name = "${pname}-${majorversion}.${minorversion}";
|
name = "${pname}-${majorversion}.${minorversion}";
|
||||||
pname = "dkimpy";
|
pname = "dkimpy";
|
||||||
majorversion = "0.6";
|
majorversion = "0.6";
|
||||||
minorversion = "1";
|
minorversion = "2";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "https://launchpad.net/${pname}/${majorversion}/${majorversion}.${minorversion}/+download/${name}.tar.gz";
|
url = "https://launchpad.net/${pname}/${majorversion}/${majorversion}.${minorversion}/+download/${name}.tar.gz";
|
||||||
sha256 = "0zmvyw18ww1jqrbqws636w3xki59fyqva553r6s74q5c4jvy36v2";
|
sha256 = "1hagz8qk0v4ijfbcdq4z28bpgr2mkpr498z76i1vam2d50chmakl";
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = [ pytest ];
|
buildInputs = [ pytest ];
|
||||||
propagatedBuildInputs = [ openssl dns ];
|
propagatedBuildInputs = [ openssl dns ];
|
||||||
|
|
||||||
patchPhase = ''substituteInPlace dknewkey.py --replace \
|
patchPhase = ''
|
||||||
|
substituteInPlace dknewkey.py --replace \
|
||||||
/usr/bin/openssl ${openssl}/bin/openssl
|
/usr/bin/openssl ${openssl}/bin/openssl
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
checkPhase = ''
|
||||||
|
python ./test.py
|
||||||
|
'';
|
||||||
|
|
||||||
postInstall = ''
|
postInstall = ''
|
||||||
mkdir -p $out/bin $out/libexec
|
mkdir -p $out/bin $out/libexec
|
||||||
mv $out/bin/*.py $out/libexec
|
mv $out/bin/*.py $out/libexec
|
||||||
@ -31,11 +36,12 @@ buildPythonApplication rec {
|
|||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
description = "DKIM + ARC email signing/verification tools + Python module";
|
description = "DKIM + ARC email signing/verification tools + Python module";
|
||||||
longDescription = ''Python module that implements DKIM (DomainKeys Identified Mail)
|
longDescription = ''
|
||||||
email signing and verification. It also provides a number of convєnient tools
|
Python module that implements DKIM (DomainKeys Identified Mail) email
|
||||||
for command line signing and verification, as well as generating new DKIM records.
|
signing and verification. It also provides a number of convєnient tools
|
||||||
This version also supports the experimental Authenticated Received Chain (ARC)
|
for command line signing and verification, as well as generating new DKIM
|
||||||
protocol.
|
records. This version also supports the experimental Authenticated
|
||||||
|
Received Chain (ARC) protocol.
|
||||||
'';
|
'';
|
||||||
homepage = "https://launchpad.net/dkimpy";
|
homepage = "https://launchpad.net/dkimpy";
|
||||||
license = licenses.bsd3;
|
license = licenses.bsd3;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user