2018-10-16 20:02:35 +01:00
|
|
|
{ stdenv
|
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
2020-06-04 22:24:31 +01:00
|
|
|
, markupsafe
|
2018-10-16 20:02:35 +01:00
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
2020-07-31 09:56:49 +01:00
|
|
|
version = "2.3.3";
|
2020-06-04 22:24:31 +01:00
|
|
|
pname = "WTForms";
|
2018-10-16 20:02:35 +01:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2020-07-31 09:56:49 +01:00
|
|
|
sha256 = "81195de0ac94fbc8368abbaf9197b88c4f3ffd6c2719b5bf5fc9da744f3d829c";
|
2018-10-16 20:02:35 +01:00
|
|
|
};
|
|
|
|
|
2020-06-04 22:24:31 +01:00
|
|
|
propagatedBuildInputs = [ markupsafe ];
|
|
|
|
|
2018-10-16 20:02:35 +01: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 22:24:31 +01:00
|
|
|
homepage = "https://github.com/wtforms/wtforms";
|
|
|
|
changelog = "https://github.com/wtforms/wtforms/blob/${version}/CHANGES.rst";
|
2018-10-16 20:02:35 +01:00
|
|
|
license = licenses.bsd3;
|
2020-06-04 22:24:31 +01:00
|
|
|
maintainers = [ maintainers.bhipple ];
|
2018-10-16 20:02:35 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
}
|