gmsh: opencascade support
This commit is contained in:
parent
f91904a889
commit
0a1e131077
@ -1,10 +1,9 @@
|
|||||||
{ stdenv, fetchurl, cmake, openblasCompat, gfortran, gmm, fltk, libjpeg
|
{ 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 rec {
|
||||||
|
pname = "gmsh";
|
||||||
stdenv.mkDerivation {
|
version = "4.4.1";
|
||||||
name = "gmsh-${version}";
|
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "http://gmsh.info/src/gmsh-${version}-source.tgz";
|
url = "http://gmsh.info/src/gmsh-${version}-source.tgz";
|
||||||
@ -14,15 +13,14 @@ stdenv.mkDerivation {
|
|||||||
buildInputs = [ openblasCompat gmm fltk libjpeg zlib libGLU_combined
|
buildInputs = [ openblasCompat gmm fltk libjpeg zlib libGLU_combined
|
||||||
libGLU xorg.libXrender xorg.libXcursor xorg.libXfixes xorg.libXext
|
libGLU xorg.libXrender xorg.libXcursor xorg.libXfixes xorg.libXext
|
||||||
xorg.libXft xorg.libXinerama xorg.libX11 xorg.libSM xorg.libICE
|
xorg.libXft xorg.libXinerama xorg.libX11 xorg.libSM xorg.libICE
|
||||||
|
opencascade-occt
|
||||||
];
|
];
|
||||||
|
|
||||||
nativeBuildInputs = [ cmake gfortran ];
|
nativeBuildInputs = [ cmake gfortran ];
|
||||||
|
|
||||||
enableParallelBuilding = true;
|
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
description = "A three-dimensional finite element mesh generator";
|
description = "A three-dimensional finite element mesh generator";
|
||||||
homepage = http://gmsh.info/;
|
homepage = "http://gmsh.info/";
|
||||||
platforms = [ "x86_64-linux" ];
|
platforms = [ "x86_64-linux" ];
|
||||||
license = stdenv.lib.licenses.gpl2Plus;
|
license = stdenv.lib.licenses.gpl2Plus;
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user