diff options
author | Chris Ostrouchov <chris.ostrouchov@gmail.com> | 2018-10-16 15:02:35 -0400 |
---|---|---|
committer | Frederik Rietdijk <fridh@fridh.nl> | 2018-10-17 07:46:59 +0200 |
commit | 7b2ed00ef62476080fe439ce91219376ab8c8a2e (patch) | |
tree | 64bfc6598ce6f96217b1faeb345231aff967809b /pkgs/development/python-modules/wtforms | |
parent | 1a76b2c7f8fc334b0c7197c5e64e84e4bb29c845 (diff) |
pythonPackges.wtforms: refactor move to python-modules
Diffstat (limited to 'pkgs/development/python-modules/wtforms')
-rw-r--r-- | pkgs/development/python-modules/wtforms/default.nix | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/wtforms/default.nix b/pkgs/development/python-modules/wtforms/default.nix new file mode 100644 index 0000000000000..40f0b6554515f --- /dev/null +++ b/pkgs/development/python-modules/wtforms/default.nix @@ -0,0 +1,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; + }; + +} |