blob: a106945df060c852b74b9c8a45e71a8ce42bd9f0 (
plain) (
blame)
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
50
51
52
53
54
55
56
57
|
{ lib
, fetchPypi
, buildPythonPackage
, pythonOlder
, hatchling
, flask
, itsdangerous
, wtforms
, email-validator
, pytestCheckHook
, setuptools
}:
buildPythonPackage rec {
pname = "flask-wtf";
version = "1.2.1";
format = "pyproject";
disabled = pythonOlder "3.8";
src = fetchPypi {
pname = "flask_wtf";
inherit version;
hash = "sha256-i7Jp65u0a4fnyCM9fn3r3x+LdL+QzBeJmIwps3qXtpU=";
};
nativeBuildInputs = [
hatchling
setuptools
];
propagatedBuildInputs = [
flask
itsdangerous
wtforms
];
passthru.optional-dependencies = {
email = [ email-validator ];
};
nativeCheckInputs = [
pytestCheckHook
];
pytestFlagsArray = [
"-W" "ignore::DeprecationWarning"
];
meta = with lib; {
description = "Simple integration of Flask and WTForms.";
license = licenses.bsd3;
maintainers = with maintainers; [ mic92 anthonyroussel ];
homepage = "https://github.com/lepture/flask-wtf/";
changelog = "https://github.com/wtforms/flask-wtf/releases/tag/v${version}";
};
}
|