2024-06-05 15:53:02 +00:00
|
|
|
{
|
|
|
|
lib,
|
2024-07-27 06:49:29 +00:00
|
|
|
aiosmtpd,
|
2024-06-05 15:53:02 +00:00
|
|
|
buildPythonPackage,
|
|
|
|
fetchFromGitHub,
|
|
|
|
poetry-core,
|
|
|
|
mkdocs-material-extensions,
|
|
|
|
flask,
|
|
|
|
pytestCheckHook,
|
|
|
|
pythonOlder,
|
2022-09-30 11:47:45 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "flask-mailman";
|
2024-07-27 06:49:29 +00:00
|
|
|
version = "1.1.1";
|
|
|
|
pyproject = true;
|
2022-09-30 11:47:45 +00:00
|
|
|
|
2024-01-02 11:29:13 +00:00
|
|
|
disabled = pythonOlder "3.7";
|
2022-09-30 11:47:45 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "waynerv";
|
2024-07-27 06:49:29 +00:00
|
|
|
repo = "flask-mailman";
|
2024-01-02 11:29:13 +00:00
|
|
|
rev = "refs/tags/v${version}";
|
2024-07-27 06:49:29 +00:00
|
|
|
hash = "sha256-0kD3rxFDJ7FcmBLVju75z1nf6U/7XfjiLD/oM/VP4jQ=";
|
2022-09-30 11:47:45 +00:00
|
|
|
};
|
|
|
|
|
2024-07-27 06:49:29 +00:00
|
|
|
build-system = [ poetry-core ];
|
2022-09-30 11:47:45 +00:00
|
|
|
|
2024-07-27 06:49:29 +00:00
|
|
|
dependencies = [
|
2022-09-30 11:47:45 +00:00
|
|
|
flask
|
|
|
|
mkdocs-material-extensions
|
|
|
|
];
|
|
|
|
|
2024-07-27 06:49:29 +00:00
|
|
|
nativeCheckInputs = [
|
|
|
|
aiosmtpd
|
|
|
|
pytestCheckHook
|
|
|
|
];
|
2022-09-30 11:47:45 +00:00
|
|
|
|
|
|
|
pythonImportsCheck = [ "flask_mailman" ];
|
|
|
|
|
|
|
|
meta = with lib; {
|
2024-07-27 06:49:29 +00:00
|
|
|
changelog = "https://github.com/waynerv/flask-mailman/blob/${src.rev}/CHANGELOG.md";
|
2022-09-30 11:47:45 +00:00
|
|
|
homepage = "https://github.com/waynerv/flask-mailman";
|
2024-06-20 14:57:18 +00:00
|
|
|
description = "Flask extension providing simple email sending capabilities";
|
2022-09-30 11:47:45 +00:00
|
|
|
license = licenses.bsd3;
|
|
|
|
maintainers = with maintainers; [ gador ];
|
|
|
|
};
|
|
|
|
}
|