Merge pull request #301427 from r-ryantm/auto-update/python312Packages.flask-session-captcha
python312Packages.flask-session-captcha: 1.4.1 -> 1.4.2
This commit is contained in:
commit
3b88e130bf
@ -1,57 +1,51 @@
|
|||||||
{ lib
|
{
|
||||||
, fetchFromGitHub
|
lib,
|
||||||
, buildPythonPackage
|
buildPythonPackage,
|
||||||
|
captcha,
|
||||||
# build-system
|
fetchFromGitHub,
|
||||||
, setuptools
|
flask,
|
||||||
|
flask-session,
|
||||||
# dependencies
|
flask-sqlalchemy,
|
||||||
, captcha
|
markupsafe,
|
||||||
, flask
|
pytestCheckHook,
|
||||||
, markupsafe
|
pythonOlder,
|
||||||
|
setuptools,
|
||||||
# tests
|
|
||||||
, flask-sqlalchemy
|
|
||||||
, pytestCheckHook
|
|
||||||
}:
|
}:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "flask-session-captcha";
|
pname = "flask-session-captcha";
|
||||||
version = "1.4.1";
|
version = "1.4.2";
|
||||||
pyproject = true;
|
pyproject = true;
|
||||||
|
|
||||||
|
disabled = pythonOlder "3.8";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "Tethik";
|
owner = "Tethik";
|
||||||
repo = pname;
|
repo = "flask-session-captcha";
|
||||||
rev = "refs/tags/v${version}";
|
rev = "refs/tags/v${version}";
|
||||||
hash = "sha256-0g8nnnmTfcb9VqrtJ6kkfCFm+AYVrPZNWUPNQSjVTgQ=";
|
hash = "sha256-hf6ifTrsWvgvUHFAPdS8ns8aKN02zquLGCq5ouQF0ck=";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [
|
build-system = [ setuptools ];
|
||||||
setuptools
|
|
||||||
];
|
|
||||||
|
|
||||||
propagatedBuildInputs = [
|
dependencies = [
|
||||||
captcha
|
captcha
|
||||||
flask
|
flask
|
||||||
markupsafe
|
markupsafe
|
||||||
];
|
];
|
||||||
|
|
||||||
pythonImportsCheck = [
|
|
||||||
"flask_session_captcha"
|
|
||||||
];
|
|
||||||
|
|
||||||
# RuntimeError: Working outside of application context.
|
|
||||||
doCheck = false;
|
|
||||||
|
|
||||||
nativeCheckInputs = [
|
nativeCheckInputs = [
|
||||||
|
flask-session
|
||||||
flask-sqlalchemy
|
flask-sqlalchemy
|
||||||
pytestCheckHook
|
pytestCheckHook
|
||||||
];
|
];
|
||||||
|
|
||||||
|
pythonImportsCheck = [ "flask_session_captcha" ];
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "A captcha implemention for flask";
|
description = "A captcha implemention for flask";
|
||||||
homepage = "https://github.com/Tethik/flask-session-captcha";
|
homepage = "https://github.com/Tethik/flask-session-captcha";
|
||||||
|
changelog = "https://github.com/Tethik/flask-session-captcha/releases/tag/v${version}";
|
||||||
license = licenses.mit;
|
license = licenses.mit;
|
||||||
maintainers = with maintainers; [ Flakebi ];
|
maintainers = with maintainers; [ Flakebi ];
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user