7f5b839524
`selectVersion ./foo "bar"' instead of `import ./foo/bar.nix'. * Replaced `with args' with formal function arguments in several packages. * Renamed several files to `default.nix'. As a general rule, version numbers should only be included in the filename when there is a reason to keep multiple versions of a package in Nixpkgs. Otherwise, it just makes it harder to update the package. svn path=/nixpkgs/trunk/; revision=18403
19 lines
534 B
Nix
19 lines
534 B
Nix
args : with args;
|
|
rec {
|
|
src = fetchurl {
|
|
url = http://downloads.sourceforge.net/cheetahtemplate/Cheetah-2.0.1.tar.gz;
|
|
sha256 = "134k4s5f116k23vb7wf9bynlx3gf0wwl7y0zp9ciz0q66nh1idkh";
|
|
};
|
|
|
|
buildInputs = [python makeWrapper];
|
|
configureFlags = [];
|
|
|
|
/* doConfigure should be specified separately */
|
|
phaseNames = ["installPythonPackage" (makeManyWrappers ''$out/bin/*'' ''--prefix PYTHONPATH : $(toPythonPath $out)'')];
|
|
|
|
name = "cheetah-template-2.0.1";
|
|
meta = {
|
|
description = "Templating engine";
|
|
};
|
|
}
|