3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/applications/science/geometry/tetgen/default.nix

25 lines
577 B
Nix
Raw Normal View History

2021-01-15 13:21:58 +00:00
{lib, stdenv, fetchurl}:
2021-03-10 00:33:18 +00:00
let version = "1.6.0"; in
stdenv.mkDerivation {
2019-08-13 22:52:01 +01:00
pname = "tetgen";
inherit version;
src = fetchurl {
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=";
};
installPhase = ''
mkdir -p $out/bin
cp tetgen $out/bin
'';
meta = {
description = "Quality Tetrahedral Mesh Generator and 3D Delaunay Triangulator";
homepage = "http://tetgen.org/";
2021-01-15 13:21:58 +00:00
license = lib.licenses.agpl3Plus;
platforms = lib.platforms.linux;
};
}