mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-04 19:45:54 +00:00
30 lines
855 B
Nix
30 lines
855 B
Nix
{ stdenv, fetchurl, cmake, openblasCompat, gfortran, gmm, fltk, libjpeg
|
|
, zlib, libGLU_combined, libGLU, xorg }:
|
|
|
|
let version = "4.1.5"; in
|
|
|
|
stdenv.mkDerivation {
|
|
name = "gmsh-${version}";
|
|
|
|
src = fetchurl {
|
|
url = "http://gmsh.info/src/gmsh-${version}-source.tgz";
|
|
sha256 = "654d38203f76035a281006b77dcb838987a44fd549287f11c53a1e9cdf598f46";
|
|
};
|
|
|
|
buildInputs = [ cmake 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
|
|
];
|
|
|
|
nativeBuildInputs = [ gfortran ];
|
|
|
|
enableParallelBuilding = true;
|
|
|
|
meta = {
|
|
description = "A three-dimensional finite element mesh generator";
|
|
homepage = http://gmsh.info/;
|
|
platforms = [ "x86_64-linux" ];
|
|
license = stdenv.lib.licenses.gpl2Plus;
|
|
};
|
|
}
|