Files
nixpkgs/pkgs/development/python-modules/flask-mail/default.nix
Dark Steveneq 646b892680
Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
push sheeet
2025-10-09 14:15:47 +02:00

48 lines
1017 B
Nix

{
lib,
buildPythonPackage,
fetchFromGitHub,
blinker,
flit-core,
flask,
pytestCheckHook,
}:
buildPythonPackage rec {
pname = "flask-mail";
version = "0.10.0";
pyproject = true;
src = fetchFromGitHub {
owner = "pallets-eco";
repo = "flask-mail";
tag = version;
hash = "sha256-G2Z8dj1/IuLsZoNJVrL6LYu0XjTEHtWB9Z058aqG9Ic=";
};
build-system = [ flit-core ];
dependencies = [
blinker
flask
];
pythonImportsCheck = [ "flask_mail" ];
nativeCheckInputs = [ pytestCheckHook ];
disabledTests = [
# Broken by fix for CVE-2023-27043.
# Reported upstream in https://github.com/pallets-eco/flask-mail/issues/233
"test_unicode_sender_tuple"
"test_unicode_sender"
];
meta = {
description = "Flask extension providing simple email sending capabilities";
homepage = "https://github.com/pallets-eco/flask-mail";
changelog = "https://github.com/pallets-eco/flask-mail/blob/${src.rev}/CHANGES.md";
license = lib.licenses.bsd3;
};
}