about summary refs log tree commit diff
path: root/nixpkgs/pkgs/development/python-modules/wtforms/default.nix
blob: 98c3b1be93b55938877489844d2063bfff17d43d (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
{ stdenv
, buildPythonPackage
, fetchPypi
, Babel
}:

buildPythonPackage rec {
  version = "2.1";
  pname = "wtforms";

  src = fetchPypi {
    inherit pname version;
    extension = "zip";
    sha256 = "0vyl26y9cg409cfyj8rhqxazsdnd0jipgjw06civhrd53yyi1pzz";
  };

  # Django tests are broken "django.core.exceptions.AppRegistryNotReady: Apps aren't loaded yet."
  # This is fixed in master I believe but not yet in 2.1;
  doCheck = false;

  propagatedBuildInputs = [ Babel ];

  meta = with stdenv.lib; {
    homepage = "https://github.com/wtforms/wtforms";
    description = "A flexible forms validation and rendering library for Python";
    license = licenses.bsd3;
  };

}