forked from mirrors/nixpkgs
00d17e36ea
Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools. This update was made based on information from https://repology.org/metapackage/gmsh/versions
30 lines
843 B
Nix
30 lines
843 B
Nix
{ stdenv, fetchurl, cmake, openblasCompat, gfortran, gmm, fltk, libjpeg
|
|
, zlib, libGLU_combined, libGLU, xorg }:
|
|
|
|
let version = "4.2.3"; in
|
|
|
|
stdenv.mkDerivation {
|
|
name = "gmsh-${version}";
|
|
|
|
src = fetchurl {
|
|
url = "http://gmsh.info/src/gmsh-${version}-source.tgz";
|
|
sha256 = "0n18wmj8i4m1pzri3r0676lx1427zf8qmsrgnn07drv6if1cia2q";
|
|
};
|
|
|
|
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;
|
|
};
|
|
}
|