1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-23 06:01:15 +00:00
nixpkgs/pkgs/tools/system/iops/default.nix
volth 46420bbaa3 treewide: name -> pname (easy cases) (#66585)
treewide replacement of

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

to pname
2019-08-15 13:41:18 +01:00

30 lines
822 B
Nix

{ stdenv, fetchurl }:
stdenv.mkDerivation rec {
pname = "iops";
version = "0.1";
src = fetchurl {
url = "https://www.vanheusden.com/iops/${pname}-${version}.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
};
}