forked from mirrors/nixpkgs
28 lines
838 B
Nix
28 lines
838 B
Nix
{ stdenv, fetchurl, cmake, openblasCompat, gfortran, gmm, fltk, libjpeg
|
|
, zlib, libGLU_combined, libGLU, xorg, opencascade-occt }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "gmsh";
|
|
version = "4.4.1";
|
|
|
|
src = fetchurl {
|
|
url = "http://gmsh.info/src/gmsh-${version}-source.tgz";
|
|
sha256 = "1p7hibmsgv961lfkzdxlgcvmcb0q155m2sp60r97cjsfzhw68g45";
|
|
};
|
|
|
|
buildInputs = [ openblasCompat gmm fltk libjpeg zlib libGLU_combined
|
|
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" ];
|
|
license = stdenv.lib.licenses.gpl2Plus;
|
|
};
|
|
}
|