mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-25 03:17:13 +00:00
0ec2af3736
Manually updated
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.0.5"; in
|
|
|
|
stdenv.mkDerivation {
|
|
name = "gmsh-${version}";
|
|
|
|
src = fetchurl {
|
|
url = "http://gmsh.info/src/gmsh-${version}-source.tgz";
|
|
sha256 = "194354f5cfede4ef47cb6f1d2bde294873315a1b34be114564defef88d108adf";
|
|
};
|
|
|
|
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;
|
|
};
|
|
}
|