Files
nixpkgs/pkgs/development/python-modules/flask-mailman/default.nix
T
Ihar Hrachyshka 567e8dfd8e treewide: clean up 'meta = with' pattern
This commit was created by a combination of scripts and tools:
- an ast-grep script to prefix things in meta with `lib.`,
- a modified nixf-diagnose / nixf combination to remove unused `with
lib;`, and
- regular nixfmt.

Co-authored-by: Wolfgang Walther <walther@technowledgy.de>
2025-12-10 18:09:49 +01:00

49 lines
995 B
Nix

{
lib,
aiosmtpd,
buildPythonPackage,
fetchFromGitHub,
poetry-core,
mkdocs-material-extensions,
flask,
pytestCheckHook,
pythonOlder,
}:
buildPythonPackage rec {
pname = "flask-mailman";
version = "1.1.1";
pyproject = true;
disabled = pythonOlder "3.7";
src = fetchFromGitHub {
owner = "waynerv";
repo = "flask-mailman";
tag = "v${version}";
hash = "sha256-0kD3rxFDJ7FcmBLVju75z1nf6U/7XfjiLD/oM/VP4jQ=";
};
build-system = [ poetry-core ];
dependencies = [
flask
mkdocs-material-extensions
];
nativeCheckInputs = [
aiosmtpd
pytestCheckHook
];
pythonImportsCheck = [ "flask_mailman" ];
meta = {
changelog = "https://github.com/waynerv/flask-mailman/blob/${src.rev}/CHANGELOG.md";
homepage = "https://github.com/waynerv/flask-mailman";
description = "Flask extension providing simple email sending capabilities";
license = lib.licenses.bsd3;
maintainers = with lib.maintainers; [ gador ];
};
}