diff options
author | Charles Strahan <charles.c.strahan@gmail.com> | 2014-06-29 23:57:55 -0400 |
---|---|---|
committer | Charles Strahan <charles.c.strahan@gmail.com> | 2014-06-30 23:50:38 -0400 |
commit | 25b53cddb4020a793f1d8340ce26c97a0ae4b87a (patch) | |
tree | cb5d7518fd8db508648cfd8ffe73d8e9cfe282de /pkgs | |
parent | f8e984b9b24f05891ddef1309d57bc3071ed1c4c (diff) | |
download | nixlib-25b53cddb4020a793f1d8340ce26c97a0ae4b87a.tar nixlib-25b53cddb4020a793f1d8340ce26c97a0ae4b87a.tar.gz nixlib-25b53cddb4020a793f1d8340ce26c97a0ae4b87a.tar.bz2 nixlib-25b53cddb4020a793f1d8340ce26c97a0ae4b87a.tar.lz nixlib-25b53cddb4020a793f1d8340ce26c97a0ae4b87a.tar.xz nixlib-25b53cddb4020a793f1d8340ce26c97a0ae4b87a.tar.zst nixlib-25b53cddb4020a793f1d8340ce26c97a0ae4b87a.zip |
iomelt: new package
This adds the IOMelt pacakge, "a simple yet effective way to benchmark disk IO in Linux systems."
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 cfb4ac4ba823..3f9f7e24f190 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -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 { }; |