From ac1857cef1441b18af1a466a65522886c0f3c2a4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Llu=C3=ADs=20Batlle=20i=20Rossell?= Date: Tue, 29 May 2012 14:21:55 +0000 Subject: [PATCH] Adding fio, the flexible IO tester. svn path=/nixpkgs/trunk/; revision=34275 --- pkgs/tools/system/fio/default.nix | 23 +++++++++++++++++++++++ pkgs/top-level/all-packages.nix | 2 ++ 2 files changed, 25 insertions(+) create mode 100644 pkgs/tools/system/fio/default.nix diff --git a/pkgs/tools/system/fio/default.nix b/pkgs/tools/system/fio/default.nix new file mode 100644 index 000000000000..aadad3b96c8e --- /dev/null +++ b/pkgs/tools/system/fio/default.nix @@ -0,0 +1,23 @@ +{ stdenv, fetchgit, libaio }: + +stdenv.mkDerivation rec { + name = "fio-2.0.8"; + + src = fetchgit { + url = git://git.kernel.dk/fio.git; + rev = "cf9a74c8bd63d9db5256f1362885c740e11a1fe5"; + sha256 = "b34de480bbbb9cde221d0c4557ead91790feb825a1e31c4013e222ee7f43e937"; + }; + + buildInputs = [ libaio ]; + + installPhase = '' + make install prefix=$out + ''; + + meta = { + homepage = http://git.kernel.dk/?p=fio.git;a=summary; + description = "Flexible IO Tester - an IO benchmark tool"; + license = "GPLv2"; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 422daf6fd567..559c1b73e86e 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -692,6 +692,8 @@ let finger_bsd = callPackage ../tools/networking/bsd-finger { }; + fio = callPackage ../tools/system/fio { }; + flvstreamer = callPackage ../tools/networking/flvstreamer { }; libbsd = callPackage ../development/libraries/libbsd { };