Skip to content
This repository has been archived by the owner on Apr 12, 2021. It is now read-only.

Commit

Permalink
Merge pull request #50101 from r-ryantm/auto-update/gmsh
Browse files Browse the repository at this point in the history
gmsh: 4.0.2 -> 4.0.4
  • Loading branch information
markuskowa committed Nov 14, 2018
2 parents 231e671 + 644ab70 commit f597a88
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 46 deletions.
37 changes: 0 additions & 37 deletions pkgs/applications/science/math/gmsh/CMakeLists.txt.patch

This file was deleted.

14 changes: 5 additions & 9 deletions pkgs/applications/science/math/gmsh/default.nix
@@ -1,21 +1,17 @@
{ stdenv, fetchurl, cmake, blas, liblapack, gfortran, gmm, fltk, libjpeg
{ stdenv, fetchurl, cmake, openblasCompat, gfortran, gmm, fltk, libjpeg
, zlib, libGLU_combined, libGLU, xorg }:

let version = "4.0.2"; in
let version = "4.0.4"; in

stdenv.mkDerivation {
name = "gmsh-${version}";

src = fetchurl {
url = "http://gmsh.info/src/gmsh-${version}-source.tgz";
sha256 = "03aw3sbz4x998rk29az7mgm0mrdb6614aqnppg81p5jkh5097jgk";
sha256 = "1hvrls3xyxvn69kwicpvndrs0zhifcfkhfsxr8zkmhmn6fhnjhha";
};

# The original CMakeLists tries to use some version of the Lapack lib
# that is supposed to work without Fortran but didn't for me.
patches = [ ./CMakeLists.txt.patch ];

buildInputs = [ cmake blas liblapack gmm fltk libjpeg zlib libGLU_combined
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
];
Expand All @@ -27,7 +23,7 @@ stdenv.mkDerivation {
meta = {
description = "A three-dimensional finite element mesh generator";
homepage = http://gmsh.info/;
platforms = stdenv.lib.platforms.all;
platforms = [ "x86_64-linux" ];
license = stdenv.lib.licenses.gpl2Plus;
};
}

0 comments on commit f597a88

Please sign in to comment.