2014-06-30 04:57:55 +01:00
|
|
|
{ stdenv, lib, fetchurl }:
|
|
|
|
|
|
|
|
let version = "0.7";
|
|
|
|
in stdenv.mkDerivation {
|
2019-08-13 22:52:01 +01:00
|
|
|
pname = "iomelt";
|
|
|
|
inherit version;
|
2014-06-30 04:57:55 +01:00
|
|
|
src = fetchurl {
|
|
|
|
url = "http://iomelt.com/s/iomelt-${version}.tar.gz";
|
|
|
|
sha256 = "1jhrdm5b7f1bcbrdwcc4yzg26790jxl4d2ndqiwd9brl2g5537im";
|
|
|
|
};
|
|
|
|
|
|
|
|
preBuild = ''
|
2014-07-22 10:01:32 +01:00
|
|
|
mkdir -p $out/bin
|
|
|
|
mkdir -p $out/share/man/man1
|
2014-06-30 04:57:55 +01:00
|
|
|
|
|
|
|
substituteInPlace Makefile \
|
|
|
|
--replace /usr $out
|
|
|
|
'';
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "A simple yet effective way to benchmark disk IO in Linux systems";
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "http://www.iomelt.com";
|
2014-06-30 04:57:55 +01:00
|
|
|
maintainers = with maintainers; [ cstrahan ];
|
2018-08-29 23:32:07 +01:00
|
|
|
license = licenses.artistic2;
|
2016-09-01 18:39:33 +01:00
|
|
|
platforms = platforms.linux;
|
2014-06-30 04:57:55 +01:00
|
|
|
};
|
|
|
|
}
|