Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: NixOS/nixpkgs
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: dc2104d132aa
Choose a base ref
...
head repository: NixOS/nixpkgs
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: c8a7aa1e1b88
Choose a head ref
  • 2 commits
  • 2 files changed
  • 2 contributors

Commits on Mar 14, 2018

  1. pythonPackages.nevow: fix build, 0.14.2->0.14.3

    fix tests, minor update, move to development/python-modules/
    xeji committed Mar 14, 2018
    Copy the full SHA
    9a10c55 View commit details
  2. Merge pull request #36944 from xeji/nevow

    python27Packages.nevow: fix build, 0.14.2->0.14.3
    dotlambda authored Mar 14, 2018
    Copy the full SHA
    c8a7aa1 View commit details
Showing with 42 additions and 42 deletions.
  1. +41 −0 pkgs/development/python-modules/nevow/default.nix
  2. +1 −42 pkgs/top-level/python-packages.nix
41 changes: 41 additions & 0 deletions pkgs/development/python-modules/nevow/default.nix
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;
};
}
43 changes: 1 addition & 42 deletions pkgs/top-level/python-packages.nix
Original file line number Diff line number Diff line change
@@ -10692,48 +10692,7 @@ in {
};
};

nevow = buildPythonPackage (rec {
name = "nevow-${version}";
version = "0.14.2";

src = pkgs.fetchurl {
url = "mirror://pypi/N/Nevow/Nevow-${version}.tar.gz";
sha256 = "0wsh40ysj5gvfc777nrdvf5vbkr606r1gh7ibvw7x8b5g8afdy3y";
name = "${name}.tar.gz";
};

disabled = isPy3k;

propagatedBuildInputs = with self; [ twisted ];

postInstall = "twistd --help > /dev/null";

meta = {
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 = http://divmod.org/trac/wiki/DivmodNevow;

license = "BSD-style";
};
});
nevow = callPackage ../development/python-modules/nevow { };

nibabel = callPackage ../development/python-modules/nibabel {};