blob: 4daa239ae31008cfc59ea04d2f85252796f35a1a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
|
{
lib,
buildPythonPackage,
captcha,
fetchFromGitHub,
flask,
flask-session,
flask-sqlalchemy,
markupsafe,
pytestCheckHook,
setuptools,
}:
buildPythonPackage rec {
pname = "flask-session-captcha";
version = "1.5.0";
pyproject = true;
src = fetchFromGitHub {
owner = "Tethik";
repo = "flask-session-captcha";
tag = "v${version}";
hash = "sha256-2JPJx8yQIl0bbcbshONJtja7BnSiieHzHi64A6jLpc0=";
};
build-system = [ setuptools ];
dependencies = [
captcha
flask
markupsafe
];
nativeCheckInputs = [
flask-session
flask-sqlalchemy
pytestCheckHook
];
pythonImportsCheck = [ "flask_session_captcha" ];
meta = {
description = "Captcha implemention for flask";
homepage = "https://github.com/Tethik/flask-session-captcha";
changelog = "https://github.com/Tethik/flask-session-captcha/releases/tag/v${version}";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ Flakebi ];
};
}
|