diff options
author | Oliver Charles <ollie@ocharles.org.uk> | 2014-07-01 08:46:12 +0100 |
---|---|---|
committer | Oliver Charles <ollie@ocharles.org.uk> | 2014-07-01 08:46:12 +0100 |
commit | 200e3535dc901793fc7ec6183b2ee9ccd9f539a9 (patch) | |
tree | dd9c7c12dee7548b49545a7c303e6e9706dadfec /pkgs | |
parent | e11813c8fe0b043f900c80d274fdeaa45d12d06b (diff) | |
parent | 25b53cddb4020a793f1d8340ce26c97a0ae4b87a (diff) | |
download | nixlib-200e3535dc901793fc7ec6183b2ee9ccd9f539a9.tar nixlib-200e3535dc901793fc7ec6183b2ee9ccd9f539a9.tar.gz nixlib-200e3535dc901793fc7ec6183b2ee9ccd9f539a9.tar.bz2 nixlib-200e3535dc901793fc7ec6183b2ee9ccd9f539a9.tar.lz nixlib-200e3535dc901793fc7ec6183b2ee9ccd9f539a9.tar.xz nixlib-200e3535dc901793fc7ec6183b2ee9ccd9f539a9.tar.zst nixlib-200e3535dc901793fc7ec6183b2ee9ccd9f539a9.zip |
Merge pull request #3141 from cstrahan/iomelt
iomelt: new package
Diffstat (limited to 'pkgs')
-rw-r--r-- | pkgs/os-specific/linux/iomelt/default.nix | 25 | ||||
-rw-r--r-- | pkgs/top-level/all-packages.nix | 2 |
2 files changed, 27 insertions, 0 deletions
diff --git a/pkgs/os-specific/linux/iomelt/default.nix b/pkgs/os-specific/linux/iomelt/default.nix new file mode 100644 index 000000000000..df267d304c15 --- /dev/null +++ b/pkgs/os-specific/linux/iomelt/default.nix @@ -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; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 16cde13d5605..8c40c92b57e1 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -7175,6 +7175,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 { }; |