1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-25 03:17:13 +00:00
nixpkgs/pkgs/development/python-modules/wtforms/default.nix

30 lines
677 B
Nix
Raw Normal View History

{ 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;
};
}