ior: 3.0.1 -> 3.2.1

also switch to github and use autoreconfHook
This commit is contained in:
ajs124 2020-05-10 15:58:58 +02:00
parent 88fd82dc2c
commit 3db28f77dc

View file

@ -1,27 +1,23 @@
{ stdenv, fetchurl, openmpi, automake, autoconf, perl }:
{ stdenv, fetchFromGitHub, openmpi, perl, autoreconfHook }:
let
version = "3.0.1";
sha256 = "039rh4z3lsj4vqjsqgakk0b7dkrdrkkzj0p1cjikpc9gn36zpghc";
in
stdenv.mkDerivation {
stdenv.mkDerivation rec {
pname = "ior";
inherit version;
version = "3.2.1";
src = fetchurl {
url = "https://github.com/LLNL/ior/archive/${version}.tar.gz";
inherit sha256;
src = fetchFromGitHub {
owner = "hpc";
repo = pname;
rev = version;
sha256 = "036cg75c5vq6kijfv8f918vpm9sf1h7lyg6xr9fba7n0dwbbmycv";
};
buildInputs = [ openmpi automake autoconf perl ];
nativeBuildInputs = [ autoreconfHook ];
buildInputs = [ openmpi perl ];
enableParallelBuilding = true;
preConfigure = "./bootstrap";
meta = with stdenv.lib; {
homepage = "https://www.nersc.gov/users/computational-systems/cori/nersc-8-procurement/trinity-nersc-8-rfp/nersc-8-trinity-benchmarks/ior/";
homepage = "https://ior.readthedocs.io/en/latest/";
description = "Parallel file system I/O performance test";
license = licenses.gpl2;
platforms = platforms.linux;