summary refs log tree commit diff
path: root/pkgs
diff options
context:
space:
mode:
authorArseniy Seroka <jagajaga@users.noreply.github.com>2015-09-21 00:52:40 +0300
committerArseniy Seroka <jagajaga@users.noreply.github.com>2015-09-21 00:52:40 +0300
commit4cbed031e366f122a5405569b3a747059574c798 (patch)
tree7a9e6af9dfa2fc64a20535176d541330ad541ad0 /pkgs
parent4a074fae2b9e89e69a36c5278c891d6da362fe19 (diff)
parent775d1dc4b1f0fc06d12d5f8e51179c39e87859ce (diff)
downloadnixlib-4cbed031e366f122a5405569b3a747059574c798.tar
nixlib-4cbed031e366f122a5405569b3a747059574c798.tar.gz
nixlib-4cbed031e366f122a5405569b3a747059574c798.tar.bz2
nixlib-4cbed031e366f122a5405569b3a747059574c798.tar.lz
nixlib-4cbed031e366f122a5405569b3a747059574c798.tar.xz
nixlib-4cbed031e366f122a5405569b3a747059574c798.tar.zst
nixlib-4cbed031e366f122a5405569b3a747059574c798.zip
Merge pull request #9967 from davidak/add-package-iops
iops: init at 0.1
Diffstat (limited to 'pkgs')
-rw-r--r--pkgs/tools/system/iops/default.nix29
-rw-r--r--pkgs/top-level/all-packages.nix6
2 files changed, 33 insertions, 2 deletions
diff --git a/pkgs/tools/system/iops/default.nix b/pkgs/tools/system/iops/default.nix
new file mode 100644
index 000000000000..300fe59a97df
--- /dev/null
+++ b/pkgs/tools/system/iops/default.nix
@@ -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;
+  };
+}
+
diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix
index b42c2c402285..918bb4d4c052 100644
--- a/pkgs/top-level/all-packages.nix
+++ b/pkgs/top-level/all-packages.nix
@@ -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 { };