2010-08-12 12:59:05 +02:00
|
|
|
{stdenv, fetchurl}:
|
|
|
|
|
2015-05-22 11:08:53 +02:00
|
|
|
let version = "1.5.0"; in
|
|
|
|
stdenv.mkDerivation {
|
|
|
|
name = "tetgen-${version}";
|
2010-08-12 12:59:05 +02:00
|
|
|
|
|
|
|
src = fetchurl {
|
2015-05-22 11:08:53 +02:00
|
|
|
url = "http://wias-berlin.de/software/tetgen/1.5/src/tetgen${version}.tar.gz";
|
|
|
|
sha256 = "1www3x2r6r7pck43ismlwy82x0j6xj2qiwvfs2pn687gsmhlh4ad";
|
2010-08-12 12:59:05 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
installPhase = ''
|
2012-01-18 21:16:00 +01:00
|
|
|
mkdir -p $out/bin
|
2010-08-12 12:59:05 +02:00
|
|
|
cp tetgen $out/bin
|
|
|
|
'';
|
|
|
|
|
|
|
|
meta = {
|
2015-05-22 11:08:53 +02:00
|
|
|
inherit version;
|
2010-08-12 12:59:05 +02:00
|
|
|
description = "Quality Tetrahedral Mesh Generator and 3D Delaunay Triangulator";
|
2014-05-18 13:25:43 +02:00
|
|
|
homepage = "http://tetgen.org/";
|
2015-05-22 11:08:53 +02:00
|
|
|
license = stdenv.lib.licenses.agpl3Plus;
|
2010-08-12 12:59:05 +02:00
|
|
|
};
|
|
|
|
}
|