2021-01-11 08:54:33 +01:00
|
|
|
{ lib, stdenv, fetchurl }:
|
2015-09-20 21:46:10 +02:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2019-08-15 14:41:18 +02:00
|
|
|
pname = "iops";
|
2015-09-20 21:46:10 +02:00
|
|
|
version = "0.1";
|
|
|
|
|
|
|
|
src = fetchurl {
|
2019-08-15 14:41:18 +02:00
|
|
|
url = "https://www.vanheusden.com/iops/${pname}-${version}.tgz";
|
2015-09-20 21:46:10 +02:00
|
|
|
sha256 = "1knih6dwwiicycp5ml09bj3k8j7air9bng070sfnxwfv786y90bz";
|
|
|
|
};
|
|
|
|
|
|
|
|
installPhase = ''
|
|
|
|
mkdir -p $out/bin
|
|
|
|
cp iops $out/bin
|
|
|
|
'';
|
|
|
|
|
2021-01-11 08:54:33 +01:00
|
|
|
meta = with lib; {
|
2015-09-20 21:46:10 +02:00
|
|
|
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.
|
|
|
|
'';
|
2020-04-01 03:11:51 +02:00
|
|
|
homepage = "http://www.vanheusden.com/iops/";
|
2015-09-20 21:46:10 +02:00
|
|
|
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
|
|
|
};
|
|
|
|
}
|
|
|
|
|