2014-06-30 03:57:55 +00:00
|
|
|
{ stdenv, lib, fetchurl }:
|
|
|
|
|
|
|
|
let version = "0.7";
|
|
|
|
in stdenv.mkDerivation {
|
2019-08-13 21:52:01 +00:00
|
|
|
pname = "iomelt";
|
|
|
|
inherit version;
|
2014-06-30 03:57:55 +00:00
|
|
|
src = fetchurl {
|
|
|
|
url = "http://iomelt.com/s/iomelt-${version}.tar.gz";
|
|
|
|
sha256 = "1jhrdm5b7f1bcbrdwcc4yzg26790jxl4d2ndqiwd9brl2g5537im";
|
|
|
|
};
|
|
|
|
|
|
|
|
preBuild = ''
|
2014-07-22 09:01:32 +00:00
|
|
|
mkdir -p $out/bin
|
|
|
|
mkdir -p $out/share/man/man1
|
2014-06-30 03:57:55 +00:00
|
|
|
|
|
|
|
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 ];
|
2018-08-29 22:32:07 +00:00
|
|
|
license = licenses.artistic2;
|
2016-09-01 17:39:33 +00:00
|
|
|
platforms = platforms.linux;
|
2014-06-30 03:57:55 +00:00
|
|
|
};
|
|
|
|
}
|