1{ stdenv, fetchurl }:
2
3stdenv.mkDerivation rec {
4 name = "iops-${version}";
5 version = "0.1";
6
7 src = fetchurl {
8 url = "http://www.vanheusden.com/iops/${name}.tgz";
9 sha256 = "1knih6dwwiicycp5ml09bj3k8j7air9bng070sfnxwfv786y90bz";
10 };
11
12 installPhase = ''
13 mkdir -p $out/bin
14 cp iops $out/bin
15 '';
16
17 meta = with stdenv.lib; {
18 description = "Measure I/O operations per second of a storage device";
19 longDescription = ''
20 Iops lets you measure how many I/O operations per second a storage device can perform.
21 Usefull for determing e.g. the best RAID-setting of your storage device.
22 '';
23 homepage = http://www.vanheusden.com/iops/;
24 license = licenses.gpl2;
25 maintainers = with maintainers; davidak;
26 platforms = platforms.linux; # build problems on Darwin
27 };
28}
29