depot/third_party/nixpkgs/pkgs/applications/science/geometry/tetgen/default.nix
Default email 9405df4a82 Project import generated by Copybara.
GitOrigin-RevId: 8e4fe32876ca15e3d5eb3ecd3ca0b224417f5f17
2021-04-26 15:14:03 -04:00

25 lines
598 B
Nix

{lib, stdenv, fetchurl}:
let version = "1.6.0"; in
stdenv.mkDerivation {
pname = "tetgen";
inherit version;
src = fetchurl {
url = "http://wias-berlin.de/software/tetgen/1.5/src/tetgen${version}.tar.gz";
sha256 = "sha256-h7XmHr06Rx/E8s3XEkwrEd1mOfT+sflBpdL1EQ0Fzjk=";
};
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;
};
}