summary refs log tree commit diff
path: root/pkgs/tools/system/fio/default.nix
blob: c408c0f34ea8ee69c79e457b04d02c49fb1d3479 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
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 = stdenv.lib.licenses.gpl2;
  };
}