1{ stdenv, fetchPypi, buildPythonPackage, python }:
2
3buildPythonPackage rec {
4 pname = "authres";
5 version = "1.1.0";
6
7 src = fetchPypi {
8 inherit pname version;
9 sha256 = "1mcllhrwr23hwa2jn3m15k29ks1205ymwafjzchh8ma664hnzv6v";
10 };
11
12 checkPhase = ''
13 # run doctests
14 ${python.interpreter} -m authres
15 '';
16
17 meta = with stdenv.lib; {
18 description = "Email Authentication-Results Headers generation and parsing for Python/Python3";
19 longDescription = ''
20 Python module that implements various internet RFC's: 5451/7001/7601
21 Authentication-Results Headers generation and parsing for
22 Python/Python3.
23 '';
24 homepage = https://launchpad.net/authres;
25 license = licenses.bsd3;
26 maintainers = with maintainers; [ leenaars ];
27 };
28}