mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-20 08:59:32 +03:00
30 lines
864 B
Nix
30 lines
864 B
Nix
{ lib, stdenv, fetchurl, cmake, blas, lapack, gfortran, gmm, fltk, libjpeg
|
|
, zlib, libGL, libGLU, xorg, opencascade-occt }:
|
|
|
|
assert (!blas.isILP64) && (!lapack.isILP64);
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "gmsh";
|
|
version = "4.7.1";
|
|
|
|
src = fetchurl {
|
|
url = "http://gmsh.info/src/gmsh-${version}-source.tgz";
|
|
sha256 = "0shwi41van3k0z6rnpl3sz5nh46xbyyljwfpcp8pwxbc26aw5169";
|
|
};
|
|
|
|
buildInputs = [ blas lapack gmm fltk libjpeg zlib libGLU libGL
|
|
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 = lib.licenses.gpl2Plus;
|
|
};
|
|
}
|