2015-09-20 21:46:10 +02:00
|
|
|
{ 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;
|
2016-11-20 18:05:18 +01:00
|
|
|
maintainers = with maintainers; [ davidak ];
|
2015-11-17 21:29:29 +01:00
|
|
|
platforms = platforms.linux; # build problems on Darwin
|
2015-09-20 21:46:10 +02:00
|
|
|
};
|
|
|
|
}
|
|
|
|
|