at 18.09-beta 1.5 kB view raw
1{ stdenv, buildPythonPackage, fetchPypi, isPy3k, twisted }: 2 3buildPythonPackage rec { 4 pname = "Nevow"; 5 version = "0.14.4"; 6 disabled = isPy3k; 7 8 src = fetchPypi { 9 inherit version pname; 10 sha256 = "2299a0d2a0c1312040705599d5d571acfea74df82b968c0b9264f6f45266cf6e"; 11 }; 12 13 propagatedBuildInputs = [ twisted ]; 14 15 checkPhase = '' 16 trial formless nevow 17 ''; 18 19 meta = with stdenv.lib; { 20 description = "Nevow, a web application construction kit for Python"; 21 longDescription = '' 22 Nevow - Pronounced as the French "nouveau", or "noo-voh", Nevow 23 is a web application construction kit written in Python. It is 24 designed to allow the programmer to express as much of the view 25 logic as desired in Python, and includes a pure Python XML 26 expression syntax named stan to facilitate this. However it 27 also provides rich support for designer-edited templates, using 28 a very small XML attribute language to provide bi-directional 29 template manipulation capability. 30 31 Nevow also includes formless, a declarative syntax for 32 specifying the types of method parameters and exposing these 33 methods to the web. Forms can be rendered automatically, and 34 form posts will be validated and input coerced, rendering error 35 pages if appropriate. Once a form post has validated 36 successfully, the method will be called with the coerced values. 37 ''; 38 homepage = https://github.com/twisted/nevow; 39 license = licenses.mit; 40 }; 41}