Skip to content

Commit

Permalink
Merge pull request #9967 from davidak/add-package-iops
Browse files Browse the repository at this point in the history
iops: init at 0.1
  • Loading branch information
jagajaga committed Sep 20, 2015
2 parents 4a074fa + 775d1dc commit 4cbed03
Show file tree
Hide file tree
Showing 3 changed files with 34 additions and 2 deletions.
1 change: 1 addition & 0 deletions lib/maintainers.nix
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,7 @@
cstrahan = "Charles Strahan <[email protected]>";
cwoac = "Oliver Matthews <[email protected]>";
DamienCassou = "Damien Cassou <[email protected]>";
davidak = "David Kleuker <[email protected]>";
davidrusu = "David Rusu <[email protected]>";
dbohdan = "Danyil Bohdan <[email protected]>";
DerGuteMoritz = "Moritz Heidkamp <[email protected]>";
Expand Down
29 changes: 29 additions & 0 deletions pkgs/tools/system/iops/default.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
{ 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;
maintainers = with maintainers; davidak;
platforms = with platforms; unix;
};
}

6 changes: 4 additions & 2 deletions pkgs/top-level/all-packages.nix
Original file line number Diff line number Diff line change
Expand Up @@ -1877,9 +1877,11 @@ let

inetutils = callPackage ../tools/networking/inetutils { };

innoextract = callPackage ../tools/archivers/innoextract {};
innoextract = callPackage ../tools/archivers/innoextract { };

ioping = callPackage ../tools/system/ioping {};
ioping = callPackage ../tools/system/ioping { };

iops = callPackage ../tools/system/iops { };

iodine = callPackage ../tools/networking/iodine { };

Expand Down

0 comments on commit 4cbed03

Please sign in to comment.