about summary refs log tree commit diff
path: root/pkgs/tools/system
diff options
context:
space:
mode:
authorajs124 <git@ajs124.de>2020-05-10 15:58:58 +0200
committerajs124 <git@ajs124.de>2020-05-10 15:58:58 +0200
commit3db28f77dc9baedc1dbd16f0dfc103f3d776b6d6 (patch)
tree2ce93d9009a256cfd11b98dce41365f8fd9e07e0 /pkgs/tools/system
parent88fd82dc2c0a2fe826b18a2a8473afe267ae9482 (diff)
downloadnixlib-3db28f77dc9baedc1dbd16f0dfc103f3d776b6d6.tar
nixlib-3db28f77dc9baedc1dbd16f0dfc103f3d776b6d6.tar.gz
nixlib-3db28f77dc9baedc1dbd16f0dfc103f3d776b6d6.tar.bz2
nixlib-3db28f77dc9baedc1dbd16f0dfc103f3d776b6d6.tar.lz
nixlib-3db28f77dc9baedc1dbd16f0dfc103f3d776b6d6.tar.xz
nixlib-3db28f77dc9baedc1dbd16f0dfc103f3d776b6d6.tar.zst
nixlib-3db28f77dc9baedc1dbd16f0dfc103f3d776b6d6.zip
ior: 3.0.1 -> 3.2.1
also switch to github and use autoreconfHook
Diffstat (limited to 'pkgs/tools/system')
-rw-r--r--pkgs/tools/system/ior/default.nix26
1 files changed, 11 insertions, 15 deletions
diff --git a/pkgs/tools/system/ior/default.nix b/pkgs/tools/system/ior/default.nix
index 6015e60afba5..eff85589a1eb 100644
--- a/pkgs/tools/system/ior/default.nix
+++ b/pkgs/tools/system/ior/default.nix
@@ -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;