nixpkgs/pkgs/applications/version-management/codeville/0.8.0.nix
Eelco Dolstra 7f5b839524 * Removed selectVersion. There's no good reason to write
`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
2009-11-18 09:39:59 +00:00

24 lines
653 B
Nix

args : with args;
if (! python ? db4Support) || (! python.db4Support) then
throw ''Python DB4 support is required for codeville.''
else
rec {
src = fetchurl {
url = http://codeville.org/download/Codeville-0.8.0.tar.gz;
sha256 = "1p8zc4ijwcwf5bxl34n8d44mlxk1zhbpca68r93ywxqkqm2aqz37";
};
buildInputs = [python makeWrapper];
configureFlags = [];
/* doConfigure should be specified separately */
phaseNames = ["installPythonPackage" (makeManyWrappers ''$out/bin/*'' ''--prefix PYTHONPATH : $(toPythonPath $out)'')];
name = "codeville-0.8.0";
meta = {
description = "Codeville - RCS with powerful merge.";
};
}