Merge pull request #155212 from gador/flask-security-too-init

This commit is contained in:
Sandro 2022-01-18 23:59:02 +01:00 committed by GitHub
commit 6733a4dffa
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 78 additions and 0 deletions

View File

@ -0,0 +1,76 @@
{ lib
, buildPythonPackage
, fetchPypi
, flask
, blinker
, setuptools
, itsdangerous
, flask_principal
, passlib
, email_validator
, flask_wtf
, flask_login
, pytestCheckHook
, flask_mail
, sqlalchemy
, flask_sqlalchemy
, flask-mongoengine
, peewee
, pony
, zxcvbn
, mongoengine
, cryptography
, pyqrcode
, phonenumbers
, bleach
, mongomock
}:
buildPythonPackage rec {
pname = "flask-security-too";
version = "4.1.2";
src = fetchPypi {
pname = "Flask-Security-Too";
inherit version;
sha256 = "16ws5n08vm7wsa2f7lrkxvc7jl3ah1xfylhhyzb4vvqmlk7x9hw8";
};
propagatedBuildInputs = [
flask
flask_login
flask_principal
flask_wtf
email_validator
itsdangerous
passlib
blinker
setuptools
];
checkInputs = [
pytestCheckHook
flask_mail
sqlalchemy
flask_sqlalchemy
flask-mongoengine
peewee
pony
zxcvbn
mongoengine
cryptography
pyqrcode
phonenumbers
bleach
mongomock
];
pythonImportsCheck = [ "flask_security" ];
meta = with lib; {
homepage = "https://pypi.org/project/Flask-Security-Too/";
description = "Simple security for Flask apps (fork)";
license = licenses.mit;
maintainers = with maintainers; [ gador ];
};
}

View File

@ -2930,6 +2930,8 @@ in {
flask-session = callPackage ../development/python-modules/flask-session { };
flask-security-too = callPackage ../development/python-modules/flask-security-too { };
flask-silk = callPackage ../development/python-modules/flask-silk { };
flask-socketio = callPackage ../development/python-modules/flask-socketio { };