2023-04-28 08:08:07 +00:00
|
|
|
{ lib
|
|
|
|
, authres
|
2023-04-28 08:15:17 +00:00
|
|
|
, buildPythonPackage
|
2023-04-28 08:08:07 +00:00
|
|
|
, dkimpy
|
2023-04-28 08:15:17 +00:00
|
|
|
, dnspython
|
|
|
|
, fetchFromGitHub
|
2023-04-28 08:08:07 +00:00
|
|
|
, publicsuffix2
|
|
|
|
, pythonOlder
|
2023-04-28 08:15:17 +00:00
|
|
|
, pytestCheckHook
|
2023-08-25 16:49:23 +00:00
|
|
|
, setuptools
|
2019-12-16 18:14:29 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "authheaders";
|
2023-09-14 02:09:40 +00:00
|
|
|
version = "0.15.3";
|
2023-04-28 08:08:07 +00:00
|
|
|
format = "setuptools";
|
|
|
|
|
|
|
|
disabled = pythonOlder "3.7";
|
2019-12-16 18:14:29 +00:00
|
|
|
|
2023-04-28 08:15:17 +00:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "ValiMail";
|
|
|
|
repo = "authentication-headers";
|
|
|
|
rev = "refs/tags/${version}";
|
2023-09-14 02:09:40 +00:00
|
|
|
hash = "sha256-96fCx5uN7yegTrCN+LSjtu4u3RL+dcxV/Puyo0eziI8=";
|
2019-12-16 18:14:29 +00:00
|
|
|
};
|
|
|
|
|
2023-04-28 08:08:07 +00:00
|
|
|
propagatedBuildInputs = [
|
|
|
|
authres
|
|
|
|
dnspython
|
|
|
|
dkimpy
|
|
|
|
publicsuffix2
|
2023-08-25 16:49:23 +00:00
|
|
|
setuptools
|
2023-04-28 08:08:07 +00:00
|
|
|
];
|
2019-12-16 18:14:29 +00:00
|
|
|
|
2023-04-28 08:15:17 +00:00
|
|
|
nativeCheckInputs = [
|
|
|
|
pytestCheckHook
|
|
|
|
];
|
|
|
|
|
2023-04-28 08:09:26 +00:00
|
|
|
pythonImportsCheck = [
|
|
|
|
"authheaders"
|
|
|
|
];
|
|
|
|
|
2022-05-30 20:10:24 +00:00
|
|
|
meta = with lib; {
|
2019-12-16 18:14:29 +00:00
|
|
|
description = "Python library for the generation of email authentication headers";
|
2020-04-01 01:11:51 +00:00
|
|
|
homepage = "https://github.com/ValiMail/authentication-headers";
|
2023-04-28 08:03:39 +00:00
|
|
|
changelog = "https://github.com/ValiMail/authentication-headers/blob${version}/CHANGES";
|
2022-05-30 20:10:24 +00:00
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = with maintainers; [ ];
|
2019-12-16 18:14:29 +00:00
|
|
|
};
|
|
|
|
}
|