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