mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-24 22:50:49 +00:00
gmsh: opencascade support
This commit is contained in:
parent
f91904a889
commit
0a1e131077
|
@ -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;
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue