mirror of
https://github.com/SebastianWendel/nixpkgs.git
synced 2024-09-29 08:30:21 +02:00
Merge pull request #192456 from gador/flask-security-5.0.0_fix
This commit is contained in:
commit
f2f2065df6
46
pkgs/development/python-modules/flask-mailman/default.nix
Normal file
46
pkgs/development/python-modules/flask-mailman/default.nix
Normal file
|
@ -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 ];
|
||||
};
|
||||
}
|
|
@ -9,7 +9,8 @@
|
|||
# extras: common
|
||||
, bcrypt
|
||||
, bleach
|
||||
, flask_mail
|
||||
, flask-mailman
|
||||
, qrcode
|
||||
|
||||
# extras: fsqla
|
||||
, flask-sqlalchemy
|
||||
|
@ -19,7 +20,6 @@
|
|||
# extras: mfa
|
||||
, cryptography
|
||||
, phonenumbers
|
||||
, pyqrcode
|
||||
|
||||
# propagates
|
||||
, blinker
|
||||
|
@ -39,6 +39,7 @@
|
|||
, peewee
|
||||
, pony
|
||||
, pytestCheckHook
|
||||
, python-dateutil
|
||||
, zxcvbn
|
||||
}:
|
||||
|
||||
|
@ -71,7 +72,8 @@ buildPythonPackage rec {
|
|||
common = [
|
||||
bcrypt
|
||||
bleach
|
||||
flask_mail
|
||||
flask-mailman
|
||||
qrcode
|
||||
];
|
||||
fsqla = [
|
||||
flask-sqlalchemy
|
||||
|
@ -81,7 +83,6 @@ buildPythonPackage rec {
|
|||
mfa = [
|
||||
cryptography
|
||||
phonenumbers
|
||||
pyqrcode
|
||||
];
|
||||
};
|
||||
|
||||
|
@ -93,6 +94,7 @@ buildPythonPackage rec {
|
|||
peewee
|
||||
pony
|
||||
pytestCheckHook
|
||||
python-dateutil
|
||||
zxcvbn
|
||||
]
|
||||
++ passthru.optional-dependencies.babel
|
||||
|
|
|
@ -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 { };
|
||||
|
|
Loading…
Reference in a new issue