mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-11 04:02:55 +03:00
tetgen 1.4.3 -> 1.5.0
Keep version 1.4.3 around as `tetgen_1_4`, because the licence changed from MIT to AGPL3+ in the meantime.
This commit is contained in:
parent
68e3614ad0
commit
b10cb12a93
21
pkgs/applications/science/geometry/tetgen/1.4.nix
Normal file
21
pkgs/applications/science/geometry/tetgen/1.4.nix
Normal file
@ -0,0 +1,21 @@
|
||||
{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;
|
||||
};
|
||||
}
|
@ -1,11 +1,12 @@
|
||||
{stdenv, fetchurl}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "tetgen-1.4.3";
|
||||
let version = "1.5.0"; in
|
||||
stdenv.mkDerivation {
|
||||
name = "tetgen-${version}";
|
||||
|
||||
src = fetchurl {
|
||||
url = "${meta.homepage}/files/tetgen1.4.3.tar.gz";
|
||||
sha256 = "0d70vjqdapmy1ghlsxjlvl5z9yp310zw697bapc4zxmp0sxi29wm";
|
||||
url = "http://wias-berlin.de/software/tetgen/1.5/src/tetgen${version}.tar.gz";
|
||||
sha256 = "1www3x2r6r7pck43ismlwy82x0j6xj2qiwvfs2pn687gsmhlh4ad";
|
||||
};
|
||||
|
||||
installPhase = ''
|
||||
@ -14,8 +15,9 @@ stdenv.mkDerivation rec {
|
||||
'';
|
||||
|
||||
meta = {
|
||||
inherit version;
|
||||
description = "Quality Tetrahedral Mesh Generator and 3D Delaunay Triangulator";
|
||||
homepage = "http://tetgen.org/";
|
||||
license = stdenv.lib.licenses.mit;
|
||||
license = stdenv.lib.licenses.agpl3Plus;
|
||||
};
|
||||
}
|
||||
|
@ -13676,8 +13676,8 @@ let
|
||||
guile = guile_1_8;
|
||||
};
|
||||
|
||||
tetgen = callPackage ../applications/science/geometry/tetgen { };
|
||||
|
||||
tetgen = callPackage ../applications/science/geometry/tetgen { }; # AGPL3+
|
||||
tetgen_1_4 = callPackage ../applications/science/geometry/tetgen/1.4.nix { }; # MIT
|
||||
|
||||
### SCIENCE/BIOLOGY
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user