python310Packages.flask-session-captcha: init at 1.3.0
This commit is contained in:
parent
6871904642
commit
fbe371c019
2 changed files with 40 additions and 0 deletions
|
@ -0,0 +1,38 @@
|
||||||
|
{ lib
|
||||||
|
, fetchFromGitHub
|
||||||
|
, buildPythonPackage
|
||||||
|
, flask
|
||||||
|
, flask-sessionstore
|
||||||
|
, flask-sqlalchemy
|
||||||
|
, captcha
|
||||||
|
, pytestCheckHook
|
||||||
|
}:
|
||||||
|
|
||||||
|
buildPythonPackage rec {
|
||||||
|
pname = "flask-session-captcha";
|
||||||
|
version = "1.3.0";
|
||||||
|
format = "setuptools";
|
||||||
|
|
||||||
|
src = fetchFromGitHub {
|
||||||
|
owner = "Tethik";
|
||||||
|
repo = pname;
|
||||||
|
rev = "v${version}";
|
||||||
|
hash = "sha256-V0f3mXCfqwH2l3OtJKOHGdrlKAFxs2ynqXvNve7Amkc=";
|
||||||
|
};
|
||||||
|
|
||||||
|
propagatedBuildInputs = [ flask flask-sessionstore captcha ];
|
||||||
|
|
||||||
|
pythonImportsCheck = [ "flask_session_captcha" ];
|
||||||
|
|
||||||
|
nativeCheckInputs = [ flask-sqlalchemy pytestCheckHook ];
|
||||||
|
|
||||||
|
# RuntimeError: Working outside of application context.
|
||||||
|
doCheck = false;
|
||||||
|
|
||||||
|
meta = with lib; {
|
||||||
|
description = "A captcha implemention for flask";
|
||||||
|
homepage = "https://github.com/Tethik/flask-session-captcha";
|
||||||
|
license = licenses.mit;
|
||||||
|
maintainers = with maintainers; [ Flakebi ];
|
||||||
|
};
|
||||||
|
}
|
|
@ -3625,6 +3625,8 @@ self: super: with self; {
|
||||||
|
|
||||||
flask-session = callPackage ../development/python-modules/flask-session { };
|
flask-session = callPackage ../development/python-modules/flask-session { };
|
||||||
|
|
||||||
|
flask-session-captcha = callPackage ../development/python-modules/flask-session-captcha { };
|
||||||
|
|
||||||
flask-sessionstore = callPackage ../development/python-modules/flask-sessionstore { };
|
flask-sessionstore = callPackage ../development/python-modules/flask-sessionstore { };
|
||||||
|
|
||||||
flask-security-too = callPackage ../development/python-modules/flask-security-too { };
|
flask-security-too = callPackage ../development/python-modules/flask-security-too { };
|
||||||
|
|
Loading…
Reference in a new issue