2018-11-14 10:41:46 +00:00
|
|
|
{ stdenv, fetchurl, cmake, openblasCompat, gfortran, gmm, fltk, libjpeg
|
2018-02-24 13:12:44 +00:00
|
|
|
, zlib, libGLU_combined, libGLU, xorg }:
|
2016-06-09 17:51:21 +01:00
|
|
|
|
2019-06-07 17:01:57 +01:00
|
|
|
let version = "4.3.0"; in
|
2016-06-09 17:51:21 +01:00
|
|
|
|
|
|
|
stdenv.mkDerivation {
|
|
|
|
name = "gmsh-${version}";
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "http://gmsh.info/src/gmsh-${version}-source.tgz";
|
2019-06-07 17:01:57 +01:00
|
|
|
sha256 = "0ab4p2dilk4rfw1qc817rmy56qkhxaajpnqdnvahbhcbf3skd8jl";
|
2016-06-09 17:51:21 +01:00
|
|
|
};
|
|
|
|
|
2019-06-07 17:01:57 +01:00
|
|
|
buildInputs = [ openblasCompat gmm fltk libjpeg zlib libGLU_combined
|
2018-02-24 12:59:47 +00:00
|
|
|
libGLU xorg.libXrender xorg.libXcursor xorg.libXfixes xorg.libXext
|
2016-06-09 17:51:21 +01:00
|
|
|
xorg.libXft xorg.libXinerama xorg.libX11 xorg.libSM xorg.libICE
|
|
|
|
];
|
|
|
|
|
2019-06-07 17:01:57 +01:00
|
|
|
nativeBuildInputs = [ cmake gfortran ];
|
2018-05-23 16:32:43 +01:00
|
|
|
|
2017-09-27 16:30:52 +01:00
|
|
|
enableParallelBuilding = true;
|
|
|
|
|
2016-06-09 17:51:21 +01:00
|
|
|
meta = {
|
|
|
|
description = "A three-dimensional finite element mesh generator";
|
|
|
|
homepage = http://gmsh.info/;
|
2018-11-14 11:33:37 +00:00
|
|
|
platforms = [ "x86_64-linux" ];
|
2016-06-09 17:51:21 +01:00
|
|
|
license = stdenv.lib.licenses.gpl2Plus;
|
|
|
|
};
|
|
|
|
}
|