python3Packages.flask-mailman: init at 0.3.0
Signed-off-by: Florian Brandes <florian.brandes@posteo.de> Co-authored-by: Sandro <sandro.jaeckel@gmail.com>
This commit is contained in:
@@ -0,0 +1,46 @@
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
, poetry-core
|
||||
, mkdocs-material-extensions
|
||||
, flask
|
||||
, pytestCheckHook
|
||||
, pythonOlder
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "flask-mailman";
|
||||
version = "0.3.0";
|
||||
format = "pyproject";
|
||||
|
||||
disabled = pythonOlder "3.6";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "waynerv";
|
||||
repo = pname;
|
||||
rev = "v${version}";
|
||||
sha256 = "sha256-cfLtif+48M6fqOkBbi4PJRFpf9FRXCPesktFQky34eU=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
poetry-core
|
||||
];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
flask
|
||||
mkdocs-material-extensions
|
||||
];
|
||||
|
||||
checkInputs = [
|
||||
pytestCheckHook
|
||||
];
|
||||
|
||||
pythonImportsCheck = [ "flask_mailman" ];
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://github.com/waynerv/flask-mailman";
|
||||
description = "Flask extension providing simple email sending capabilities.";
|
||||
license = licenses.bsd3;
|
||||
maintainers = with maintainers; [ gador ];
|
||||
};
|
||||
}
|
||||
@@ -3360,6 +3360,8 @@ in {
|
||||
|
||||
flask_mail = callPackage ../development/python-modules/flask-mail { };
|
||||
|
||||
flask-mailman = callPackage ../development/python-modules/flask-mailman { };
|
||||
|
||||
flask_marshmallow = callPackage ../development/python-modules/flask-marshmallow { };
|
||||
|
||||
flask_migrate = callPackage ../development/python-modules/flask-migrate { };
|
||||
|
||||
Reference in New Issue
Block a user