3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/applications/science/math/gmsh/default.nix

28 lines
825 B
Nix
Raw Normal View History

{ stdenv, fetchurl, cmake, openblasCompat, gfortran, gmm, fltk, libjpeg
2019-11-10 16:44:34 +00:00
, zlib, libGL, libGLU, xorg, opencascade-occt }:
2016-06-09 17:51:21 +01:00
2019-08-14 17:42:40 +01:00
stdenv.mkDerivation rec {
pname = "gmsh";
2020-01-06 14:33:28 +00:00
version = "4.5.1";
2016-06-09 17:51:21 +01:00
src = fetchurl {
url = "http://gmsh.info/src/gmsh-${version}-source.tgz";
2020-01-06 14:33:28 +00:00
sha256 = "0rjwxpz5qwq6dj7ka53mhxlgnp9bs5jphhsamlb0nk3h8kzckisq";
2016-06-09 17:51:21 +01:00
};
2019-11-10 16:44:34 +00:00
buildInputs = [ openblasCompat gmm fltk libjpeg zlib libGLU libGL
libGLU xorg.libXrender xorg.libXcursor xorg.libXfixes xorg.libXext
2016-06-09 17:51:21 +01:00
xorg.libXft xorg.libXinerama xorg.libX11 xorg.libSM xorg.libICE
2019-08-14 17:42:40 +01:00
opencascade-occt
2016-06-09 17:51:21 +01:00
];
nativeBuildInputs = [ cmake gfortran ];
2016-06-09 17:51:21 +01:00
meta = {
description = "A three-dimensional finite element mesh generator";
2019-08-14 17:42:40 +01:00
homepage = "http://gmsh.info/";
platforms = [ "x86_64-linux" ];
2016-06-09 17:51:21 +01:00
license = stdenv.lib.licenses.gpl2Plus;
};
}