Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
46 changes: 46 additions & 0 deletions pkgs/development/python-modules/flask-mailman/default.nix
Original file line number Diff line number Diff line change
@@ -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 ];
};
}
10 changes: 6 additions & 4 deletions pkgs/development/python-modules/flask-security-too/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,8 @@
# extras: common
, bcrypt
, bleach
, flask_mail
, flask-mailman
, qrcode

# extras: fsqla
, flask-sqlalchemy
Expand All @@ -19,7 +20,6 @@
# extras: mfa
, cryptography
, phonenumbers
, pyqrcode

# propagates
, blinker
Expand All @@ -39,6 +39,7 @@
, peewee
, pony
, pytestCheckHook
, python-dateutil
, zxcvbn
}:

Expand Down Expand Up @@ -71,7 +72,8 @@ buildPythonPackage rec {
common = [
bcrypt
bleach
flask_mail
flask-mailman
qrcode
];
fsqla = [
flask-sqlalchemy
Expand All @@ -81,7 +83,6 @@ buildPythonPackage rec {
mfa = [
cryptography
phonenumbers
pyqrcode
];
};

Expand All @@ -93,6 +94,7 @@ buildPythonPackage rec {
peewee
pony
pytestCheckHook
python-dateutil
zxcvbn
]
++ passthru.optional-dependencies.babel
Expand Down
2 changes: 2 additions & 0 deletions pkgs/top-level/python-packages.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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 { };
Expand Down