mpich2: 3.2 -> 3.2.1

+22 -6
+22 -6
pkgs/development/libraries/mpich2/default.nix
··· 1 - { stdenv, fetchurl, python, perl, gfortran }: 2 3 stdenv.mkDerivation rec { 4 name = "mpich-${version}"; 5 - version = "3.2"; 6 7 src = fetchurl { 8 - url = "http://www.mpich.org/static/downloads/3.2/mpich-3.2.tar.gz"; 9 - sha256 = "0bvvk4n9g4rmrncrgs9jnkcfh142i65wli5qp1akn9kwab1q80z6"; 10 }; 11 12 - configureFlags = "--enable-shared --enable-sharedlib"; 13 14 - buildInputs = [ perl gfortran ]; 15 16 meta = { 17 description = "Implementation of the Message Passing Interface (MPI) standard";
··· 1 + { stdenv, fetchurl, python, perl, gfortran 2 + , slurm, openssh, hwloc 3 + } : 4 5 stdenv.mkDerivation rec { 6 name = "mpich-${version}"; 7 + version = "3.2.1"; 8 9 src = fetchurl { 10 + url = "http://www.mpich.org/static/downloads/${version}/mpich-${version}.tar.gz"; 11 + sha256 = "1w9h4g7d46d9l5jbcyfxpaqzpjrc5hyvr9d0ns7278psxpr3pdax"; 12 }; 13 14 + configureFlags = [ 15 + "--enable-shared" 16 + "--enable-sharedlib" 17 + ]; 18 19 + buildInputs = [ perl gfortran slurm openssh hwloc ]; 20 + 21 + doCheck = true; 22 + 23 + preFixup = '' 24 + # /tmp/nix-build... ends up in the RPATH, fix it manually 25 + for entry in $out/bin/mpichversion $out/bin/mpivars; do 26 + echo "fix rpath: $entry" 27 + patchelf --set-rpath "$out/lib" $entry 28 + done 29 + ''; 30 + 31 32 meta = { 33 description = "Implementation of the Message Passing Interface (MPI) standard";