depot/third_party/nixpkgs/pkgs/development/python-modules/authheaders/default.nix
Default email 22017988c6 Project import generated by Copybara.
GitOrigin-RevId: c777cdf5c564015d5f63b09cc93bef4178b19b01
2022-04-27 11:35:20 +02:00

22 lines
634 B
Nix

{ buildPythonPackage, fetchPypi, isPy27, lib
, authres, dnspython, dkimpy, ipaddress, publicsuffix2
}:
buildPythonPackage rec {
pname = "authheaders";
version = "0.15.1";
src = fetchPypi {
inherit pname version;
sha256 = "sha256-90rOvu+CbHtammrMDZpPx7rIboIT2X/jL1GtfjpmuOk=";
};
propagatedBuildInputs = [ authres dnspython dkimpy publicsuffix2 ]
++ 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;
};
}