3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/tools/system/iops/default.nix
Silvan Mosberger 57bccb3cb8 treewide: http -> https sources (#42676)
* treewide: http -> https sources

This updates the source urls of all top-level packages from http to
https where possible.

* buildtorrent: fix url and tab -> spaces
2018-06-28 20:43:35 +02:00

30 lines
820 B
Nix

{ stdenv, fetchurl }:
stdenv.mkDerivation rec {
name = "iops-${version}";
version = "0.1";
src = fetchurl {
url = "https://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 = platforms.linux; # build problems on Darwin
};
}