1{ lib, fetchPypi, buildPythonPackage, python }:
2
3buildPythonPackage rec {
4 pname = "authres";
5 version = "1.2.0";
6
7 src = fetchPypi {
8 inherit pname version;
9 sha256 = "1dr5zpqnb54h4f5ax8334l1dcp8j9083d7v4vdi1xqkwmnavklck";
10 };
11
12 checkPhase = ''
13 # run doctests
14 ${python.interpreter} -m authres
15 '';
16
17 meta = with 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/authentication-results-python";
25 license = licenses.bsd3;
26 maintainers = with maintainers; [ leenaars ];
27 };
28}