1 { lib, fetchPypi, openssl, buildPythonPackage
2 , pytest, dnspython, pynacl, authres, python }:
4 buildPythonPackage rec {
10 inherit pname version;
11 hash = "sha256-mmZ/hmS3Lrn4qhJQsHV8w5gqto9wxIrzkxe1jPYvLXU=";
14 nativeCheckInputs = [ pytest ];
15 propagatedBuildInputs = [ openssl dnspython pynacl authres ];
18 substituteInPlace dkim/dknewkey.py --replace \
19 /usr/bin/openssl ${openssl}/bin/openssl
23 ${python.interpreter} ./test.py
27 description = "DKIM + ARC email signing/verification tools + Python module";
29 Python module that implements DKIM (DomainKeys Identified Mail) email
30 signing and verification. It also provides a number of convєnient tools
31 for command line signing and verification, as well as generating new DKIM
32 records. This version also supports the experimental Authenticated
33 Received Chain (ARC) protocol.
35 homepage = "https://launchpad.net/dkimpy";
36 license = licenses.bsd3;
37 maintainers = with maintainers; [ leenaars ];