about summary refs log tree commit diff
path: root/pkgs/development/python-modules/authres/default.nix
blob: 3c9a9d36796893b74db7847283bd9139643be4e5 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
{
  lib,
  fetchPypi,
  buildPythonPackage,
  python,
}:

buildPythonPackage rec {
  pname = "authres";
  version = "1.2.0";
  format = "setuptools";

  src = fetchPypi {
    inherit pname version;
    sha256 = "1dr5zpqnb54h4f5ax8334l1dcp8j9083d7v4vdi1xqkwmnavklck";
  };

  checkPhase = ''
    # run doctests
    ${python.interpreter} -m authres
  '';

  meta = with lib; {
    description = "Email Authentication-Results Headers generation and parsing for Python/Python3";
    longDescription = ''
      Python module that implements various internet RFC's: 5451/7001/7601
      Authentication-Results Headers generation and parsing for
      Python/Python3.
    '';
    homepage = "https://launchpad.net/authentication-results-python";
    license = licenses.bsd3;
    maintainers = with maintainers; [ leenaars ];
  };
}