diff options
Diffstat (limited to 'nixpkgs/pkgs/applications/science/geometry/tetgen/default.nix')
-rw-r--r-- | nixpkgs/pkgs/applications/science/geometry/tetgen/default.nix | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/nixpkgs/pkgs/applications/science/geometry/tetgen/default.nix b/nixpkgs/pkgs/applications/science/geometry/tetgen/default.nix new file mode 100644 index 000000000000..b655cc48c731 --- /dev/null +++ b/nixpkgs/pkgs/applications/science/geometry/tetgen/default.nix @@ -0,0 +1,24 @@ +{stdenv, fetchurl}: + +let version = "1.5.0"; in +stdenv.mkDerivation { + name = "tetgen-${version}"; + + src = fetchurl { + url = "http://wias-berlin.de/software/tetgen/1.5/src/tetgen${version}.tar.gz"; + sha256 = "1www3x2r6r7pck43ismlwy82x0j6xj2qiwvfs2pn687gsmhlh4ad"; + }; + + 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 = stdenv.lib.licenses.agpl3Plus; + platforms = stdenv.lib.platforms.linux; + }; +} |