Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 20.09 747 B view raw
1{ stdenv 2, buildPythonPackage 3, fetchPypi 4, markupsafe 5}: 6 7buildPythonPackage rec { 8 version = "2.3.3"; 9 pname = "WTForms"; 10 11 src = fetchPypi { 12 inherit pname version; 13 sha256 = "81195de0ac94fbc8368abbaf9197b88c4f3ffd6c2719b5bf5fc9da744f3d829c"; 14 }; 15 16 propagatedBuildInputs = [ markupsafe ]; 17 18 # Django tests are broken "django.core.exceptions.AppRegistryNotReady: Apps aren't loaded yet." 19 doCheck = false; 20 21 meta = with stdenv.lib; { 22 description = "A flexible forms validation and rendering library for Python"; 23 homepage = "https://github.com/wtforms/wtforms"; 24 changelog = "https://github.com/wtforms/wtforms/blob/${version}/CHANGES.rst"; 25 license = licenses.bsd3; 26 maintainers = [ maintainers.bhipple ]; 27 }; 28 29}