2018-10-16 19:02:35 +00:00
|
|
|
{ stdenv
|
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
2020-06-04 21:24:31 +00:00
|
|
|
, markupsafe
|
2018-10-16 19:02:35 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
2020-07-31 08:56:49 +00:00
|
|
|
version = "2.3.3";
|
2020-06-04 21:24:31 +00:00
|
|
|
pname = "WTForms";
|
2018-10-16 19:02:35 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2020-07-31 08:56:49 +00:00
|
|
|
sha256 = "81195de0ac94fbc8368abbaf9197b88c4f3ffd6c2719b5bf5fc9da744f3d829c";
|
2018-10-16 19:02:35 +00:00
|
|
|
};
|
|
|
|
|
2020-06-04 21:24:31 +00:00
|
|
|
propagatedBuildInputs = [ markupsafe ];
|
|
|
|
|
2018-10-16 19:02:35 +00:00
|
|
|
# Django tests are broken "django.core.exceptions.AppRegistryNotReady: Apps aren't loaded yet."
|
|
|
|
doCheck = false;
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "A flexible forms validation and rendering library for Python";
|
2020-06-04 21:24:31 +00:00
|
|
|
homepage = "https://github.com/wtforms/wtforms";
|
|
|
|
changelog = "https://github.com/wtforms/wtforms/blob/${version}/CHANGES.rst";
|
2018-10-16 19:02:35 +00:00
|
|
|
license = licenses.bsd3;
|
2020-06-04 21:24:31 +00:00
|
|
|
maintainers = [ maintainers.bhipple ];
|
2018-10-16 19:02:35 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
}
|