diff options
author | Flakebi <flakebi@t-online.de> | 2023-03-28 01:05:24 +0200 |
---|---|---|
committer | Flakebi <flakebi@t-online.de> | 2023-05-18 13:32:49 +0200 |
commit | fbe371c0196088ac03a186a5c343d137a780362c (patch) | |
tree | be31d8670e48b24115e95068738c8b36d60b7925 /pkgs/development/python-modules/flask-session-captcha | |
parent | 6871904642122b9135e97bf4e41103d6bff97b33 (diff) |
python310Packages.flask-session-captcha: init at 1.3.0
Diffstat (limited to 'pkgs/development/python-modules/flask-session-captcha')
-rw-r--r-- | pkgs/development/python-modules/flask-session-captcha/default.nix | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/flask-session-captcha/default.nix b/pkgs/development/python-modules/flask-session-captcha/default.nix new file mode 100644 index 0000000000000..a720d2a4b555e --- /dev/null +++ b/pkgs/development/python-modules/flask-session-captcha/default.nix @@ -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 ]; + }; +} |