2021-01-15 13:21:58 +00:00
|
|
|
{lib, stdenv, fetchurl}:
|
2010-08-12 11:59:05 +01:00
|
|
|
|
2021-03-10 00:33:18 +00:00
|
|
|
let version = "1.6.0"; in
|
2015-05-22 10:08:53 +01:00
|
|
|
stdenv.mkDerivation {
|
2019-08-13 22:52:01 +01:00
|
|
|
pname = "tetgen";
|
|
|
|
inherit version;
|
2010-08-12 11:59:05 +01:00
|
|
|
|
|
|
|
src = fetchurl {
|
2015-05-22 10:08:53 +01:00
|
|
|
url = "http://wias-berlin.de/software/tetgen/1.5/src/tetgen${version}.tar.gz";
|
2021-03-10 00:33:18 +00:00
|
|
|
sha256 = "sha256-h7XmHr06Rx/E8s3XEkwrEd1mOfT+sflBpdL1EQ0Fzjk=";
|
2010-08-12 11:59:05 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
installPhase = ''
|
2012-01-18 20:16:00 +00:00
|
|
|
mkdir -p $out/bin
|
2010-08-12 11:59:05 +01:00
|
|
|
cp tetgen $out/bin
|
|
|
|
'';
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "Quality Tetrahedral Mesh Generator and 3D Delaunay Triangulator";
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "http://tetgen.org/";
|
2021-01-15 13:21:58 +00:00
|
|
|
license = lib.licenses.agpl3Plus;
|
|
|
|
platforms = lib.platforms.linux;
|
2010-08-12 11:59:05 +01:00
|
|
|
};
|
|
|
|
}
|