summary refs log tree commit diff
path: root/pkgs/tools/system/iops/default.nix
blob: 03c1c85ea84d93d8f4c5a1aeac4ff446e6e26c77 (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
24
25
26
27
28
29
{ stdenv, fetchurl }:

stdenv.mkDerivation rec {
  name = "iops-${version}";
  version = "0.1";

  src = fetchurl {
    url = "http://www.vanheusden.com/iops/${name}.tgz";
    sha256 = "1knih6dwwiicycp5ml09bj3k8j7air9bng070sfnxwfv786y90bz";
  };

  installPhase = ''
    mkdir -p $out/bin
    cp iops $out/bin
  '';

  meta = with stdenv.lib; {
    description = "Measure I/O operations per second of a storage device";
    longDescription = ''
      Iops lets you measure how many I/O operations per second a storage device can perform.
      Usefull for determing e.g. the best RAID-setting of your storage device.
    '';
    homepage = http://www.vanheusden.com/iops/;
    license = licenses.gpl2;
    maintainers = with maintainers; davidak;
    platforms = with platforms; linux; # build problems on Darwin
  };
}