2010-08-12 10:59:05 +00:00
|
|
|
{stdenv, fetchurl}:
|
|
|
|
|
2020-01-30 12:47:50 +00:00
|
|
|
let version = "1.5.1"; in
|
2015-05-22 09:08:53 +00:00
|
|
|
stdenv.mkDerivation {
|
2019-08-13 21:52:01 +00:00
|
|
|
pname = "tetgen";
|
|
|
|
inherit 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";
|
2020-01-30 12:47:50 +00:00
|
|
|
sha256 = "0l5q066crs4cjj7qr0r2gnz8ajkgighngwglr1201h77lcs48sp4";
|
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";
|
2020-04-01 01:11:51 +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
|
|
|
};
|
|
|
|
}
|