c7e6337bd0
GitOrigin-RevId: 08e4dc3a907a6dfec8bb3bbf1540d8abbffea22b
48 lines
986 B
Nix
48 lines
986 B
Nix
{ lib
|
|
, authres
|
|
, buildPythonPackage
|
|
, dkimpy
|
|
, dnspython
|
|
, fetchFromGitHub
|
|
, publicsuffix2
|
|
, pythonOlder
|
|
, pytestCheckHook
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "authheaders";
|
|
version = "0.15.2";
|
|
format = "setuptools";
|
|
|
|
disabled = pythonOlder "3.7";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "ValiMail";
|
|
repo = "authentication-headers";
|
|
rev = "refs/tags/${version}";
|
|
hash = "sha256-vtLt7JUdLF0gBWgMzP65UAR6A9BnTech5n0alFErcSQ=";
|
|
};
|
|
|
|
propagatedBuildInputs = [
|
|
authres
|
|
dnspython
|
|
dkimpy
|
|
publicsuffix2
|
|
];
|
|
|
|
nativeCheckInputs = [
|
|
pytestCheckHook
|
|
];
|
|
|
|
pythonImportsCheck = [
|
|
"authheaders"
|
|
];
|
|
|
|
meta = with lib; {
|
|
description = "Python library for the generation of email authentication headers";
|
|
homepage = "https://github.com/ValiMail/authentication-headers";
|
|
changelog = "https://github.com/ValiMail/authentication-headers/blob${version}/CHANGES";
|
|
license = licenses.mit;
|
|
maintainers = with maintainers; [ ];
|
|
};
|
|
}
|