python310Packages.wtforms: disable on unsupported Python releases

This commit is contained in:
Fabian Affolter
2023-02-21 11:07:07 +01:00
parent df8b681f4f
commit 06afd90a88
@@ -5,16 +5,20 @@
, babel
, pytestCheckHook
, email-validator
, pythonOlder
}:
buildPythonPackage rec {
version = "3.0.1";
pname = "wtforms";
version = "3.0.1";
format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchPypi {
pname = "WTForms";
inherit version;
sha256 = "1g654ghavds387hqxmhg9s8x222x89wbq1ggzxbsyn6x2axindbb";
hash = "sha256-azUbuxLdWK9X/+8FvHhCXQjRkU4P1o7hQUO3reAjxbw=";
};
propagatedBuildInputs = [ markupsafe babel ];
@@ -32,7 +36,7 @@ buildPythonPackage rec {
homepage = "https://github.com/wtforms/wtforms";
changelog = "https://github.com/wtforms/wtforms/blob/${version}/CHANGES.rst";
license = licenses.bsd3;
maintainers = [ maintainers.bhipple ];
maintainers = with maintainers; [ bhipple ];
};
}