fio: 2.2.11 -> 2.9

This fixes the build against linux 4.4 headers; see
https://hydra.nixos.org/build/35697941/log/raw

Also set `platforms.unix` per what upstream claims.
This commit is contained in:
Joachim Fasting 2016-05-16 01:06:00 +02:00
parent a11b0bc515
commit ca730d4452
No known key found for this signature in database
GPG Key ID: 4330820E1E04DCF4

View File

@ -1,6 +1,9 @@
{ stdenv, fetchFromGitHub, libaio, python, zlib }: { stdenv, fetchFromGitHub, libaio, python, zlib }:
let version = "2.2.11"; in let
version = "2.9";
sha256 = "10x5b1f1pdsh33kqzc8yf2v4mijlmkh72lmh9za6kz7hb3hp1nvi";
in
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
name = "fio-${version}"; name = "fio-${version}";
@ -9,7 +12,7 @@ stdenv.mkDerivation rec {
owner = "axboe"; owner = "axboe";
repo = "fio"; repo = "fio";
rev = "fio-${version}"; rev = "fio-${version}";
sha256 = "0g26xvbb60f96ks8q7jpap0xc2grb5j5w4m4glz910ndgf0s45wm"; inherit sha256;
}; };
buildInputs = [ libaio python zlib ]; buildInputs = [ libaio python zlib ];
@ -24,6 +27,6 @@ stdenv.mkDerivation rec {
homepage = "http://git.kernel.dk/?p=fio.git;a=summary"; homepage = "http://git.kernel.dk/?p=fio.git;a=summary";
description = "Flexible IO Tester - an IO benchmark tool"; description = "Flexible IO Tester - an IO benchmark tool";
license = licenses.gpl2; license = licenses.gpl2;
platforms = platforms.linux; platforms = platforms.unix;
}; };
} }