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
1 changed files with 11 additions and 15 deletions

View File

@ -1,27 +1,23 @@
{ stdenv, fetchurl, openmpi, automake, autoconf, perl }: { stdenv, fetchFromGitHub, openmpi, perl, autoreconfHook }:
let stdenv.mkDerivation rec {
version = "3.0.1";
sha256 = "039rh4z3lsj4vqjsqgakk0b7dkrdrkkzj0p1cjikpc9gn36zpghc";
in
stdenv.mkDerivation {
pname = "ior"; pname = "ior";
inherit version; version = "3.2.1";
src = fetchurl { src = fetchFromGitHub {
url = "https://github.com/LLNL/ior/archive/${version}.tar.gz"; owner = "hpc";
inherit sha256; repo = pname;
rev = version;
sha256 = "036cg75c5vq6kijfv8f918vpm9sf1h7lyg6xr9fba7n0dwbbmycv";
}; };
buildInputs = [ openmpi automake autoconf perl ]; nativeBuildInputs = [ autoreconfHook ];
buildInputs = [ openmpi perl ];
enableParallelBuilding = true; enableParallelBuilding = true;
preConfigure = "./bootstrap";
meta = with stdenv.lib; { 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"; description = "Parallel file system I/O performance test";
license = licenses.gpl2; license = licenses.gpl2;
platforms = platforms.linux; platforms = platforms.linux;