python3Packages.wtforms: 2.3.3 -> 3.0.1

needed for pgadmin4 init
https://github.com/NixOS/nixpkgs/pull/154764
This commit is contained in:
florian on nixos (Florian Brandes) 2022-01-16 11:33:51 +01:00
parent 2dd5461213
commit 0d2fa1e0d6
No known key found for this signature in database
GPG Key ID: 074048E893713170

View File

@ -2,21 +2,29 @@
, buildPythonPackage
, fetchPypi
, markupsafe
, Babel
, pytestCheckHook
, email_validator
}:
buildPythonPackage rec {
version = "2.3.3";
version = "3.0.1";
pname = "WTForms";
src = fetchPypi {
inherit pname version;
sha256 = "81195de0ac94fbc8368abbaf9197b88c4f3ffd6c2719b5bf5fc9da744f3d829c";
sha256 = "1g654ghavds387hqxmhg9s8x222x89wbq1ggzxbsyn6x2axindbb";
};
propagatedBuildInputs = [ markupsafe ];
propagatedBuildInputs = [ markupsafe Babel ];
# Django tests are broken "django.core.exceptions.AppRegistryNotReady: Apps aren't loaded yet."
doCheck = false;
checkInputs = [
pytestCheckHook
email_validator
];
pythonImportsCheck = [ "wtforms" ];
meta = with lib; {
description = "A flexible forms validation and rendering library for Python";