gmsh: opencascade support

This commit is contained in:
Gabriel Ebner 2019-08-14 18:42:40 +02:00
parent f91904a889
commit 0a1e131077

View File

@ -1,10 +1,9 @@
{ stdenv, fetchurl, cmake, openblasCompat, gfortran, gmm, fltk, libjpeg
, zlib, libGLU_combined, libGLU, xorg }:
, zlib, libGLU_combined, libGLU, xorg, opencascade-occt }:
let version = "4.4.1"; in
stdenv.mkDerivation {
name = "gmsh-${version}";
stdenv.mkDerivation rec {
pname = "gmsh";
version = "4.4.1";
src = fetchurl {
url = "http://gmsh.info/src/gmsh-${version}-source.tgz";
@ -14,15 +13,14 @@ stdenv.mkDerivation {
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 ];
enableParallelBuilding = true;
meta = {
description = "A three-dimensional finite element mesh generator";
homepage = http://gmsh.info/;
homepage = "http://gmsh.info/";
platforms = [ "x86_64-linux" ];
license = stdenv.lib.licenses.gpl2Plus;
};