mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-21 13:10:33 +00:00
iomelt: new package
This adds the IOMelt pacakge, "a simple yet effective way to benchmark disk IO in Linux systems."
This commit is contained in:
parent
f8e984b9b2
commit
25b53cddb4
25
pkgs/os-specific/linux/iomelt/default.nix
Normal file
25
pkgs/os-specific/linux/iomelt/default.nix
Normal file
|
@ -0,0 +1,25 @@
|
|||
{ stdenv, lib, fetchurl }:
|
||||
|
||||
let version = "0.7";
|
||||
in stdenv.mkDerivation {
|
||||
name = "iomelt-${version}";
|
||||
src = fetchurl {
|
||||
url = "http://iomelt.com/s/iomelt-${version}.tar.gz";
|
||||
sha256 = "1jhrdm5b7f1bcbrdwcc4yzg26790jxl4d2ndqiwd9brl2g5537im";
|
||||
};
|
||||
|
||||
preBuild = ''
|
||||
ensureDir $out/bin
|
||||
ensureDir $out/share/man/man1
|
||||
|
||||
substituteInPlace Makefile \
|
||||
--replace /usr $out
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
description = "A simple yet effective way to benchmark disk IO in Linux systems";
|
||||
homepage = http://www.iomelt.com;
|
||||
maintainers = with maintainers; [ cstrahan ];
|
||||
platforms = platforms.linux ++ platforms.darwin;
|
||||
};
|
||||
}
|
|
@ -7151,6 +7151,8 @@ let
|
|||
|
||||
ifplugd = callPackage ../os-specific/linux/ifplugd { };
|
||||
|
||||
iomelt = callPackage ../os-specific/linux/iomelt { };
|
||||
|
||||
iotop = callPackage ../os-specific/linux/iotop { };
|
||||
|
||||
iproute = callPackage ../os-specific/linux/iproute { };
|
||||
|
|
Loading…
Reference in a new issue