depot/third_party/nixpkgs/pkgs/applications/science/geometry/tetgen/default.nix
Default email 1ae14203fc Project import generated by Copybara.
GitOrigin-RevId: 68398d2dd50efc2d878bf0f83bbc8bc323b6b0e0
2021-01-17 01:15:33 +01:00

25 lines
599 B
Nix

{lib, stdenv, fetchurl}:
let version = "1.5.1"; in
stdenv.mkDerivation {
pname = "tetgen";
inherit version;
src = fetchurl {
url = "http://wias-berlin.de/software/tetgen/1.5/src/tetgen${version}.tar.gz";
sha256 = "0l5q066crs4cjj7qr0r2gnz8ajkgighngwglr1201h77lcs48sp4";
};
installPhase = ''
mkdir -p $out/bin
cp tetgen $out/bin
'';
meta = {
inherit version;
description = "Quality Tetrahedral Mesh Generator and 3D Delaunay Triangulator";
homepage = "http://tetgen.org/";
license = lib.licenses.agpl3Plus;
platforms = lib.platforms.linux;
};
}