git.iko.soy/typeable/nixpkgs
on master help sign in
Merge pull request #36944 from xeji/nevow

python27Packages.nevow: fix build, 0.14.2->0.14.3

commitc8a7aa1e1b8854dbeb44f8c25fd810fa8d40036c authorRobert Schütz <rschuetz17@gmail.com> dateWed 14 Mar 2018, 19:04 (9 years ago) parentdc2104d9a10c55
2 files changed+42−42
pkgs/development/python-modules/nevow/default.nix+41 pkgs/top-level/python-packages.nix+1−42
pkgs/development/python-modules/nevow/default.nixnew file+41
@@ -0,0 +1,41 @@
1+{ stdenv, buildPythonPackage, fetchPypi, isPy3k, twisted }:
2+
3+buildPythonPackage rec {
4+ pname = "Nevow";
5+ version = "0.14.3";
6+ disabled = isPy3k;
7+
8+ src = fetchPypi {
9+ inherit version pname;
10+ sha256 = "0pid8dj3p8ai715n9a59cryfxrrbxidpda3f8hvgmfpcrjdmnmmb";
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+}
pkgs/top-level/python-packages.nix+1−42
@@ -10692,48 +10692,7 @@ in {
1069210692 };
1069310693 };
1069410694
10695− nevow = buildPythonPackage (rec {
10696− name = "nevow-${version}";
10697− version = "0.14.2";
10698−
10699− src = pkgs.fetchurl {
10700− url = "mirror://pypi/N/Nevow/Nevow-${version}.tar.gz";
10701− sha256 = "0wsh40ysj5gvfc777nrdvf5vbkr606r1gh7ibvw7x8b5g8afdy3y";
10702− name = "${name}.tar.gz";
10703− };
10704−
10705− disabled = isPy3k;
10706−
10707− propagatedBuildInputs = with self; [ twisted ];
10708−
10709− postInstall = "twistd --help > /dev/null";
10710−
10711− meta = {
10712− description = "Nevow, a web application construction kit for Python";
10713−
10714− longDescription = ''
10715− Nevow - Pronounced as the French "nouveau", or "noo-voh", Nevow
10716− is a web application construction kit written in Python. It is
10717− designed to allow the programmer to express as much of the view
10718− logic as desired in Python, and includes a pure Python XML
10719− expression syntax named stan to facilitate this. However it
10720− also provides rich support for designer-edited templates, using
10721− a very small XML attribute language to provide bi-directional
10722− template manipulation capability.
10723−
10724− Nevow also includes formless, a declarative syntax for
10725− specifying the types of method parameters and exposing these
10726− methods to the web. Forms can be rendered automatically, and
10727− form posts will be validated and input coerced, rendering error
10728− pages if appropriate. Once a form post has validated
10729− successfully, the method will be called with the coerced values.
10730− '';
10731−
10732− homepage = http://divmod.org/trac/wiki/DivmodNevow;
10733−
10734− license = "BSD-style";
10735− };
10736− });
10695+ nevow = callPackage ../development/python-modules/nevow { };
1073710696
1073810697 nibabel = callPackage ../development/python-modules/nibabel {};
1073910698