diff options
author | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2015-04-23 15:10:54 +0200 |
---|---|---|
committer | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2015-04-23 15:45:45 +0200 |
commit | 6bfc1f7380f80e612b9eef369eb2fdfd5c66130e (patch) | |
tree | d15b54f46d25cde516ad053a0acf2d1b2ee31fa7 /pkgs/tools/system | |
parent | 4887f44d025d8d8d966710c1d5f07a1d77abfc9e (diff) | |
download | nixlib-6bfc1f7380f80e612b9eef369eb2fdfd5c66130e.tar nixlib-6bfc1f7380f80e612b9eef369eb2fdfd5c66130e.tar.gz nixlib-6bfc1f7380f80e612b9eef369eb2fdfd5c66130e.tar.bz2 nixlib-6bfc1f7380f80e612b9eef369eb2fdfd5c66130e.tar.lz nixlib-6bfc1f7380f80e612b9eef369eb2fdfd5c66130e.tar.xz nixlib-6bfc1f7380f80e612b9eef369eb2fdfd5c66130e.tar.zst nixlib-6bfc1f7380f80e612b9eef369eb2fdfd5c66130e.zip |
fio: Update to 2.2.7
Diffstat (limited to 'pkgs/tools/system')
-rw-r--r-- | pkgs/tools/system/fio/default.nix | 28 |
1 files changed, 19 insertions, 9 deletions
diff --git a/pkgs/tools/system/fio/default.nix b/pkgs/tools/system/fio/default.nix index c408c0f34ea8..5d6e322faccc 100644 --- a/pkgs/tools/system/fio/default.nix +++ b/pkgs/tools/system/fio/default.nix @@ -1,15 +1,25 @@ -{ stdenv, fetchgit, libaio }: +{ stdenv, fetchFromGitHub, libaio, zlib }: + +let version = "2.2.7"; in stdenv.mkDerivation rec { - name = "fio-2.0.8"; - - src = fetchgit { - url = git://git.kernel.dk/fio.git; - rev = "cf9a74c8bd63d9db5256f1362885c740e11a1fe5"; - sha256 = "b34de480bbbb9cde221d0c4557ead91790feb825a1e31c4013e222ee7f43e937"; + name = "fio-${version}"; + + src = fetchFromGitHub { + owner = "axboe"; + repo = "fio"; + rev = "fio-${version}"; + sha256 = "02k528n97xp1ly3d0mdn0lgwqlpn49b644696m75kcr0hn07382v"; }; - - buildInputs = [ libaio ]; + + buildInputs = [ libaio zlib ]; + + enableParallelBuilding = true; + + configurePhase = '' + substituteInPlace tools/plot/fio2gnuplot --replace /usr/share/fio $out/share/fio + ./configure + ''; installPhase = '' make install prefix=$out |