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.

+6 -3
+6 -3
pkgs/tools/system/fio/default.nix
··· 1 { stdenv, fetchFromGitHub, libaio, python, zlib }: 2 3 - let version = "2.2.11"; in 4 5 stdenv.mkDerivation rec { 6 name = "fio-${version}"; ··· 9 owner = "axboe"; 10 repo = "fio"; 11 rev = "fio-${version}"; 12 - sha256 = "0g26xvbb60f96ks8q7jpap0xc2grb5j5w4m4glz910ndgf0s45wm"; 13 }; 14 15 buildInputs = [ libaio python zlib ]; ··· 24 homepage = "http://git.kernel.dk/?p=fio.git;a=summary"; 25 description = "Flexible IO Tester - an IO benchmark tool"; 26 license = licenses.gpl2; 27 - platforms = platforms.linux; 28 }; 29 }
··· 1 { stdenv, fetchFromGitHub, libaio, python, zlib }: 2 3 + let 4 + version = "2.9"; 5 + sha256 = "10x5b1f1pdsh33kqzc8yf2v4mijlmkh72lmh9za6kz7hb3hp1nvi"; 6 + in 7 8 stdenv.mkDerivation rec { 9 name = "fio-${version}"; ··· 12 owner = "axboe"; 13 repo = "fio"; 14 rev = "fio-${version}"; 15 + inherit sha256; 16 }; 17 18 buildInputs = [ libaio python zlib ]; ··· 27 homepage = "http://git.kernel.dk/?p=fio.git;a=summary"; 28 description = "Flexible IO Tester - an IO benchmark tool"; 29 license = licenses.gpl2; 30 + platforms = platforms.unix; 31 }; 32 }