depot/third_party/nixpkgs/pkgs/os-specific/linux/iomelt/default.nix
Default email 5e7c2d6cef Project import generated by Copybara.
GitOrigin-RevId: f99e5f03cc0aa231ab5950a15ed02afec45ed51a
2023-10-09 21:29:22 +02:00

27 lines
670 B
Nix

{ stdenv, lib, fetchurl }:
let version = "0.7";
in stdenv.mkDerivation {
pname = "iomelt";
inherit version;
src = fetchurl {
url = "http://iomelt.com/s/iomelt-${version}.tar.gz";
sha256 = "1jhrdm5b7f1bcbrdwcc4yzg26790jxl4d2ndqiwd9brl2g5537im";
};
preBuild = ''
mkdir -p $out/bin
mkdir -p $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; [ ];
license = licenses.artistic2;
platforms = platforms.linux;
};
}