about summary refs log tree commit diff
path: root/pkgs/development/python-modules/authheaders/default.nix
blob: c8938c649b97c07db8abbcd84d3ff5deb807ad4d (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
{ buildPythonPackage, fetchPypi, isPy27, lib
, authres, dnspython, dkimpy, ipaddress, publicsuffix
}:

buildPythonPackage rec {
  pname = "authheaders";
  version = "0.12.2";

  src = fetchPypi {
    inherit pname version;
    sha256 = "a6f96d1dfb7a6cffcdd78d1582914d4f9a0b25d66e1cf5ce959446c92cd8b74f";
  };

  propagatedBuildInputs = [ authres dnspython dkimpy publicsuffix ]
                          ++ lib.optional isPy27 ipaddress;

  meta = {
    description = "Python library for the generation of email authentication headers";
    homepage = "https://github.com/ValiMail/authentication-headers";
    license = lib.licenses.mit;
  };
}