mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-09-24 06:08:16 +03:00
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:
parent
a11b0bc515
commit
ca730d4452
@ -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;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user