-
-
Notifications
You must be signed in to change notification settings - Fork 12.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
pythonPackages.nevow: fix build, 0.14.2->0.14.3
fix tests, minor update, move to development/python-modules/
- Loading branch information
Showing
2 changed files
with
42 additions
and
42 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
{ stdenv, buildPythonPackage, fetchPypi, isPy3k, twisted }: | ||
|
||
buildPythonPackage rec { | ||
pname = "Nevow"; | ||
version = "0.14.3"; | ||
disabled = isPy3k; | ||
|
||
src = fetchPypi { | ||
inherit version pname; | ||
sha256 = "0pid8dj3p8ai715n9a59cryfxrrbxidpda3f8hvgmfpcrjdmnmmb"; | ||
}; | ||
|
||
propagatedBuildInputs = [ twisted ]; | ||
|
||
checkPhase = '' | ||
trial formless nevow | ||
''; | ||
|
||
meta = with stdenv.lib; { | ||
description = "Nevow, a web application construction kit for Python"; | ||
longDescription = '' | ||
Nevow - Pronounced as the French "nouveau", or "noo-voh", Nevow | ||
is a web application construction kit written in Python. It is | ||
designed to allow the programmer to express as much of the view | ||
logic as desired in Python, and includes a pure Python XML | ||
expression syntax named stan to facilitate this. However it | ||
also provides rich support for designer-edited templates, using | ||
a very small XML attribute language to provide bi-directional | ||
template manipulation capability. | ||
Nevow also includes formless, a declarative syntax for | ||
specifying the types of method parameters and exposing these | ||
methods to the web. Forms can be rendered automatically, and | ||
form posts will be validated and input coerced, rendering error | ||
pages if appropriate. Once a form post has validated | ||
successfully, the method will be called with the coerced values. | ||
''; | ||
homepage = https://github.com/twisted/nevow; | ||
license = licenses.mit; | ||
}; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters