diff options
author | Lluís Batlle i Rossell <viric@vicerveza.homeunix.net> | 2012-05-29 14:21:55 +0000 |
---|---|---|
committer | Lluís Batlle i Rossell <viric@vicerveza.homeunix.net> | 2012-05-29 14:21:55 +0000 |
commit | ac1857cef1441b18af1a466a65522886c0f3c2a4 (patch) | |
tree | a8e5affe2f0bf8154448b0a5d5b220b3007a001f | |
parent | 854ebba387ae35ac782864fd254c800a5df93436 (diff) |
Adding fio, the flexible IO tester.
svn path=/nixpkgs/trunk/; revision=34275
-rw-r--r-- | pkgs/tools/system/fio/default.nix | 23 | ||||
-rw-r--r-- | pkgs/top-level/all-packages.nix | 2 |
2 files changed, 25 insertions, 0 deletions
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 { }; |