15 # optional-dependencies
22 buildPythonPackage rec {
27 disabled = pythonOlder "3.7";
29 src = fetchFromGitHub {
32 rev = "refs/tags/${version}";
33 hash = "sha256-jwjP/wkk8MdNJbPE8MlkrH4DyR304Ju41nN4lMo3jFs=";
42 propagatedBuildInputs = [ markupsafe ];
44 optional-dependencies = {
45 email = [ email-validator ];
50 ] ++ lib.flatten (lib.attrValues optional-dependencies);
52 pythonImportsCheck = [ "wtforms" ];
55 description = "Flexible forms validation and rendering library for Python";
56 homepage = "https://github.com/wtforms/wtforms";
57 changelog = "https://github.com/wtforms/wtforms/blob/${version}/CHANGES.rst";
58 license = licenses.bsd3;
59 maintainers = with maintainers; [ bhipple ];