1{ stdenv
2, buildPythonPackage
3, fetchPypi
4, Babel
5}:
6
7buildPythonPackage rec {
8 version = "2.1";
9 pname = "wtforms";
10
11 src = fetchPypi {
12 inherit pname version;
13 extension = "zip";
14 sha256 = "0vyl26y9cg409cfyj8rhqxazsdnd0jipgjw06civhrd53yyi1pzz";
15 };
16
17 # Django tests are broken "django.core.exceptions.AppRegistryNotReady: Apps aren't loaded yet."
18 # This is fixed in master I believe but not yet in 2.1;
19 doCheck = false;
20
21 propagatedBuildInputs = [ Babel ];
22
23 meta = with stdenv.lib; {
24 homepage = https://github.com/wtforms/wtforms;
25 description = "A flexible forms validation and rendering library for Python";
26 license = licenses.bsd3;
27 };
28
29}