summary refs log tree commit diff
path: root/pkgs/tools/system/iops/default.nix
diff options
context:
space:
mode:
authorDavid Kleuker <git@davidak.de>2015-09-20 21:46:10 +0200
committerDavid Kleuker <git@davidak.de>2015-09-20 23:24:43 +0200
commit775d1dc4b1f0fc06d12d5f8e51179c39e87859ce (patch)
tree1b302101c5e4da63f4b5943f6e8ffd251957b7b3 /pkgs/tools/system/iops/default.nix
parent6fc40fada160c8b92869c155589c224fdec5fdc3 (diff)
downloadnixpkgs-775d1dc4b1f0fc06d12d5f8e51179c39e87859ce.tar
nixpkgs-775d1dc4b1f0fc06d12d5f8e51179c39e87859ce.tar.gz
nixpkgs-775d1dc4b1f0fc06d12d5f8e51179c39e87859ce.tar.bz2
nixpkgs-775d1dc4b1f0fc06d12d5f8e51179c39e87859ce.tar.lz
nixpkgs-775d1dc4b1f0fc06d12d5f8e51179c39e87859ce.tar.xz
nixpkgs-775d1dc4b1f0fc06d12d5f8e51179c39e87859ce.tar.zst
nixpkgs-775d1dc4b1f0fc06d12d5f8e51179c39e87859ce.zip
iops: init at 0.1
Diffstat (limited to 'pkgs/tools/system/iops/default.nix')
-rw-r--r--pkgs/tools/system/iops/default.nix29
1 files changed, 29 insertions, 0 deletions
diff --git a/pkgs/tools/system/iops/default.nix b/pkgs/tools/system/iops/default.nix
new file mode 100644
index 00000000000..300fe59a97d
--- /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;
+  };
+}
+