commit
eaf9e31f86
@ -1,25 +1,27 @@
|
|||||||
{ stdenv, fetchurl, cmake, blas, liblapack, gfortran, fltk, libjpeg
|
{ stdenv, fetchurl, cmake, blas, liblapack, gfortran, gmm, fltk, libjpeg
|
||||||
, zlib, mesa, mesa_glu, xorg }:
|
, zlib, mesa, mesa_glu, xorg }:
|
||||||
|
|
||||||
let version = "2.12.0"; in
|
let version = "3.0.5"; in
|
||||||
|
|
||||||
stdenv.mkDerivation {
|
stdenv.mkDerivation {
|
||||||
name = "gmsh-${version}";
|
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";
|
||||||
sha256 = "02cx2mfbxx6m18s54z4yzbk4ybch3v9489z7cr974y8y0z42xgbz";
|
sha256 = "ae39ed81178d94b76990b8c89b69a5ded8910fd8f7426b800044d00373d12a93";
|
||||||
};
|
};
|
||||||
|
|
||||||
# The original CMakeLists tries to use some version of the Lapack lib
|
# The original CMakeLists tries to use some version of the Lapack lib
|
||||||
# that is supposed to work without Fortran but didn't for me.
|
# that is supposed to work without Fortran but didn't for me.
|
||||||
patches = [ ./CMakeLists.txt.patch ];
|
patches = [ ./CMakeLists.txt.patch ];
|
||||||
|
|
||||||
buildInputs = [ cmake blas liblapack gfortran fltk libjpeg zlib mesa
|
buildInputs = [ cmake blas liblapack gfortran gmm fltk libjpeg zlib mesa
|
||||||
mesa_glu xorg.libXrender xorg.libXcursor xorg.libXfixes xorg.libXext
|
mesa_glu 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
|
||||||
];
|
];
|
||||||
|
|
||||||
|
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/;
|
||||||
|
Loading…
Reference in New Issue
Block a user