nixpkgs/pkgs/development/python-modules/wtforms/default.nix

30 lines
747 B
Nix
Raw Normal View History

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