diff options
author | Langston Barrett <langston.barrett@gmail.com> | 2017-07-08 23:32:01 +0000 |
---|---|---|
committer | Frederik Rietdijk <fridh@fridh.nl> | 2017-07-28 16:13:28 +0200 |
commit | ee38a35f95d16b8cbf0d462aa3285448424098f5 (patch) | |
tree | 05fcbc9cd0ae35a8e51066a51056812c3f3b58cd /pkgs/development/python-modules/dkimpy | |
parent | fcb6e72ddf7d3fe43df23998147164abba8b6e63 (diff) | |
download | nixpkgs-ee38a35f95d16b8cbf0d462aa3285448424098f5.tar nixpkgs-ee38a35f95d16b8cbf0d462aa3285448424098f5.tar.gz nixpkgs-ee38a35f95d16b8cbf0d462aa3285448424098f5.tar.bz2 nixpkgs-ee38a35f95d16b8cbf0d462aa3285448424098f5.tar.lz nixpkgs-ee38a35f95d16b8cbf0d462aa3285448424098f5.tar.xz nixpkgs-ee38a35f95d16b8cbf0d462aa3285448424098f5.tar.zst nixpkgs-ee38a35f95d16b8cbf0d462aa3285448424098f5.zip |
pythonPackages.dkimpy: 0.6.1 -> 0.6.2
Diffstat (limited to 'pkgs/development/python-modules/dkimpy')
-rw-r--r-- | pkgs/development/python-modules/dkimpy/default.nix | 28 |
1 files changed, 17 insertions, 11 deletions
diff --git a/pkgs/development/python-modules/dkimpy/default.nix b/pkgs/development/python-modules/dkimpy/default.nix index df768f5d122..e32a9262f53 100644 --- a/pkgs/development/python-modules/dkimpy/default.nix +++ b/pkgs/development/python-modules/dkimpy/default.nix @@ -5,19 +5,24 @@ buildPythonApplication rec { name = "${pname}-${majorversion}.${minorversion}"; pname = "dkimpy"; majorversion = "0.6"; - minorversion = "1"; + minorversion = "2"; src = fetchurl { url = "https://launchpad.net/${pname}/${majorversion}/${majorversion}.${minorversion}/+download/${name}.tar.gz"; - sha256 = "0zmvyw18ww1jqrbqws636w3xki59fyqva553r6s74q5c4jvy36v2"; + sha256 = "1hagz8qk0v4ijfbcdq4z28bpgr2mkpr498z76i1vam2d50chmakl"; }; buildInputs = [ pytest ]; propagatedBuildInputs = [ openssl dns ]; - patchPhase = ''substituteInPlace dknewkey.py --replace \ - /usr/bin/openssl ${openssl}/bin/openssl - ''; + patchPhase = '' + substituteInPlace dknewkey.py --replace \ + /usr/bin/openssl ${openssl}/bin/openssl + ''; + + checkPhase = '' + python ./test.py + ''; postInstall = '' mkdir -p $out/bin $out/libexec @@ -27,15 +32,16 @@ buildPythonApplication rec { makeWrapper "$out/libexec/arcverify.py" $out/bin/arcverify makeWrapper "$out/libexec/arcsign.py" $out/bin/arcsign makeWrapper "$out/libexec/dknewkey.py" $out/bin/dknewkey - ''; + ''; meta = with stdenv.lib; { description = "DKIM + ARC email signing/verification tools + Python module"; - longDescription = ''Python module that implements DKIM (DomainKeys Identified Mail) - email signing and verification. It also provides a number of convєnient tools - for command line signing and verification, as well as generating new DKIM records. - This version also supports the experimental Authenticated Received Chain (ARC) - protocol. + longDescription = '' + Python module that implements DKIM (DomainKeys Identified Mail) email + signing and verification. It also provides a number of convєnient tools + for command line signing and verification, as well as generating new DKIM + records. This version also supports the experimental Authenticated + Received Chain (ARC) protocol. ''; homepage = "https://launchpad.net/dkimpy"; license = licenses.bsd3; |