fa5436e0a7
GitOrigin-RevId: e8057b67ebf307f01bdcc8fba94d94f75039d1f6
40 lines
828 B
Nix
40 lines
828 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";
|
|
rev = "refs/tags/${version}";
|
|
hash = "sha256-G2Z8dj1/IuLsZoNJVrL6LYu0XjTEHtWB9Z058aqG9Ic=";
|
|
};
|
|
|
|
build-system = [ flit-core ];
|
|
|
|
dependencies = [
|
|
blinker
|
|
flask
|
|
];
|
|
|
|
pythonImportsCheck = [ "flask_mail" ];
|
|
|
|
nativeCheckInputs = [ pytestCheckHook ];
|
|
|
|
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;
|
|
};
|
|
}
|