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