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-06-04 21:24:31 +00:00
|
|
|
version = "2.3.1";
|
|
|
|
pname = "WTForms";
|
2018-10-16 19:02:35 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2020-06-04 21:24:31 +00:00
|
|
|
sha256 = "0whrd9cqhlibm31yqhvhp9illddxf0cpgcn3v806f7ajmsri66l6";
|
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
|
|
|
};
|
|
|
|
|
|
|
|
}
|