2021-01-17 00:15:33 +00:00
|
|
|
{ lib, stdenv, fetchurl, cmake, blas, lapack, gfortran, gmm, fltk, libjpeg
|
2020-04-24 23:36:52 +00:00
|
|
|
, zlib, libGL, libGLU, xorg, opencascade-occt }:
|
|
|
|
|
|
|
|
assert (!blas.isILP64) && (!lapack.isILP64);
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "gmsh";
|
2021-03-09 03:18:52 +00:00
|
|
|
version = "4.8.0";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "http://gmsh.info/src/gmsh-${version}-source.tgz";
|
2021-03-09 03:18:52 +00:00
|
|
|
sha256 = "sha256-JYd4PEsClj+divtxfJlUyu+kY+ouChLhZZMH5qDX6ms=";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [ blas lapack gmm fltk libjpeg zlib libGLU libGL
|
|
|
|
libGLU xorg.libXrender xorg.libXcursor xorg.libXfixes xorg.libXext
|
|
|
|
xorg.libXft xorg.libXinerama xorg.libX11 xorg.libSM xorg.libICE
|
|
|
|
opencascade-occt
|
|
|
|
];
|
|
|
|
|
|
|
|
nativeBuildInputs = [ cmake gfortran ];
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "A three-dimensional finite element mesh generator";
|
|
|
|
homepage = "http://gmsh.info/";
|
|
|
|
platforms = [ "x86_64-linux" ];
|
2021-01-17 00:15:33 +00:00
|
|
|
license = lib.licenses.gpl2Plus;
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
}
|