nixpkgs/pkgs/applications/science/geometry/tetgen/default.nix
Eelco Dolstra c556a6ea46 * "ensureDir" -> "mkdir -p". "ensureDir" is a rather pointless
function, so obsolete it.

svn path=/nixpkgs/branches/stdenv-updates/; revision=31644
2012-01-18 20:16:00 +00:00

21 lines
469 B
Nix

{stdenv, fetchurl}:
stdenv.mkDerivation rec {
name = "tetgen-1.4.3";
src = fetchurl {
url = http://tetgen.berlios.de/files/tetgen1.4.3.tar.gz;
sha256 = "159i0vdjz7abb8bycz47ax4fqlzc82kv19sygqnrkr86qm4g43wy";
};
installPhase = ''
mkdir -p $out/bin
cp tetgen $out/bin
'';
meta = {
description = "Quality Tetrahedral Mesh Generator and 3D Delaunay Triangulator";
homepage = "http://tetgen.berlios.de/";
license = "MIT";
};
}