2020-03-31 14:47:18 +00:00
|
|
|
{ stdenv, fetchurl, cmake, blas, lapack, gfortran, gmm, fltk, libjpeg
|
2019-11-10 16:44:34 +00:00
|
|
|
, zlib, libGL, libGLU, xorg, opencascade-occt }:
|
2016-06-09 16:51:21 +00:00
|
|
|
|
2020-04-20 20:50:55 +00:00
|
|
|
assert (!blas.isILP64) && (!lapack.isILP64);
|
2020-03-31 14:47:18 +00:00
|
|
|
|
2019-08-14 16:42:40 +00:00
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "gmsh";
|
2020-07-03 11:56:48 +00:00
|
|
|
version = "4.6.0";
|
2016-06-09 16:51:21 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "http://gmsh.info/src/gmsh-${version}-source.tgz";
|
2020-07-03 11:56:48 +00:00
|
|
|
sha256 = "075dyblmlfdlhgbb1dwk6jzlqx93q90n6zwpr3mpii5n1zjmab0g";
|
2016-06-09 16:51:21 +00:00
|
|
|
};
|
|
|
|
|
2020-03-31 14:47:18 +00:00
|
|
|
buildInputs = [ blas lapack gmm fltk libjpeg zlib libGLU libGL
|
2018-02-24 12:59:47 +00:00
|
|
|
libGLU xorg.libXrender xorg.libXcursor xorg.libXfixes xorg.libXext
|
2016-06-09 16:51:21 +00:00
|
|
|
xorg.libXft xorg.libXinerama xorg.libX11 xorg.libSM xorg.libICE
|
2019-08-14 16:42:40 +00:00
|
|
|
opencascade-occt
|
2016-06-09 16:51:21 +00:00
|
|
|
];
|
|
|
|
|
2019-06-07 16:01:57 +00:00
|
|
|
nativeBuildInputs = [ cmake gfortran ];
|
2018-05-23 15:32:43 +00:00
|
|
|
|
2016-06-09 16:51:21 +00:00
|
|
|
meta = {
|
|
|
|
description = "A three-dimensional finite element mesh generator";
|
2019-08-14 16:42:40 +00:00
|
|
|
homepage = "http://gmsh.info/";
|
2018-11-14 11:33:37 +00:00
|
|
|
platforms = [ "x86_64-linux" ];
|
2016-06-09 16:51:21 +00:00
|
|
|
license = stdenv.lib.licenses.gpl2Plus;
|
|
|
|
};
|
|
|
|
}
|