summary refs log tree commit diff
path: root/pkgs/applications/science/geometry/tetgen/1.4.nix
blob: 9dd2547368345ee0abdda512f294674dceeb9342 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
{stdenv, fetchurl}:

stdenv.mkDerivation rec {
  name = "tetgen-1.4.3";

  src = fetchurl {
    url = "${meta.homepage}/files/tetgen1.4.3.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 = stdenv.lib.licenses.mit;
    platforms = stdenv.lib.platforms.linux;
  };
}