diff options
Diffstat (limited to 'pkgs/development/python-modules/flask-wtf/default.nix')
-rw-r--r-- | pkgs/development/python-modules/flask-wtf/default.nix | 56 |
1 files changed, 28 insertions, 28 deletions
diff --git a/pkgs/development/python-modules/flask-wtf/default.nix b/pkgs/development/python-modules/flask-wtf/default.nix index a106945df060..adafdec67b2b 100644 --- a/pkgs/development/python-modules/flask-wtf/default.nix +++ b/pkgs/development/python-modules/flask-wtf/default.nix @@ -1,57 +1,57 @@ -{ lib -, fetchPypi -, buildPythonPackage -, pythonOlder -, hatchling -, flask -, itsdangerous -, wtforms -, email-validator -, pytestCheckHook -, setuptools +{ + lib, + fetchPypi, + buildPythonPackage, + pythonOlder, + hatchling, + flask, + itsdangerous, + wtforms, + email-validator, + pytestCheckHook, + setuptools, }: buildPythonPackage rec { pname = "flask-wtf"; - version = "1.2.1"; - format = "pyproject"; + version = "1.2.2"; + pyproject = true; - disabled = pythonOlder "3.8"; + disabled = pythonOlder "3.9"; src = fetchPypi { pname = "flask_wtf"; inherit version; - hash = "sha256-i7Jp65u0a4fnyCM9fn3r3x+LdL+QzBeJmIwps3qXtpU="; + hash = "sha256-edLuHkNs9XC8y32RZTP6GHV6LxjCkKzP+rG5oLaEZms="; }; - nativeBuildInputs = [ + build-system = [ hatchling setuptools ]; - propagatedBuildInputs = [ + dependencies = [ flask itsdangerous wtforms ]; - passthru.optional-dependencies = { + optional-dependencies = { email = [ email-validator ]; }; - nativeCheckInputs = [ - pytestCheckHook - ]; + nativeCheckInputs = [ pytestCheckHook ]; - pytestFlagsArray = [ - "-W" "ignore::DeprecationWarning" - ]; + pythonImportsCheck = [ "flask_wtf" ]; meta = with lib; { - description = "Simple integration of Flask and WTForms."; + 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}"; + maintainers = with maintainers; [ + mic92 + anthonyroussel + ]; + homepage = "https://github.com/pallets-eco/flask-wtf/"; + changelog = "https://github.com/pallets-eco/flask-wtf/releases/tag/v${version}"; }; } |