depot/third_party/nixpkgs/pkgs/applications/science/geometry/tetgen/1.4.nix
Default email ce641f4048 Project import generated by Copybara.
GitOrigin-RevId: bc5d68306b40b8522ffb69ba6cff91898c2fbbff
2021-12-06 17:07:01 +01:00

23 lines
531 B
Nix

{ lib, stdenv, fetchurl }:
stdenv.mkDerivation rec {
pname = "tetgen";
version = "1.4.3";
src = fetchurl {
url = "${meta.homepage}/files/tetgen${version}.tar.gz";
sha256 = "0d70vjqdapmy1ghlsxjlvl5z9yp310zw697bapc4zxmp0sxi29wm";
};
installPhase = ''
mkdir -p $out/bin
cp tetgen $out/bin
'';
meta = {
description = "Quality Tetrahedral Mesh Generator and 3D Delaunay Triangulator";
homepage = "http://tetgen.org/";
license = lib.licenses.mit;
platforms = lib.platforms.linux;
};
}