mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-28 16:43:58 +00:00
55ea7b1bbe
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.1.0"; in
|
|
|
|
stdenv.mkDerivation {
|
|
name = "gmsh-${version}";
|
|
|
|
src = fetchurl {
|
|
url = "http://gmsh.info/src/gmsh-${version}-source.tgz";
|
|
sha256 = "0k53k6s4hmciakhrb3ka109vk06ckdbyms5ixizijlfh1dvh7iim";
|
|
};
|
|
|
|
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;
|
|
};
|
|
}
|