Skip to content

Commit

Permalink
Merge pull request #155212 from gador/flask-security-too-init
Browse files Browse the repository at this point in the history
  • Loading branch information
SuperSandro2000 authored Jan 18, 2022
2 parents a638e02 + 5a82b24 commit 6733a4d
Show file tree
Hide file tree
Showing 2 changed files with 78 additions and 0 deletions.
76 changes: 76 additions & 0 deletions pkgs/development/python-modules/flask-security-too/default.nix
Original file line number Diff line number Diff line change
@@ -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 ];
};
}
2 changes: 2 additions & 0 deletions pkgs/top-level/python-packages.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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 { };
Expand Down

0 comments on commit 6733a4d

Please sign in to comment.