Files
nixpkgs/pkgs/by-name/io/iomelt/package.nix
Dark Steveneq 646b892680
Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
push sheeet
2025-10-09 14:15:47 +02:00

33 lines
724 B
Nix

{
fetchurl,
lib,
stdenv,
}:
let
version = "0.7";
in
stdenv.mkDerivation {
inherit version;
pname = "iomelt";
src = fetchurl {
url = "https://web.archive.org/web/20180816072405if_/http://iomelt.com/s/iomelt-${version}.tar.gz";
sha256 = "1jhrdm5b7f1bcbrdwcc4yzg26790jxl4d2ndqiwd9brl2g5537im";
};
preBuild = ''
install -d $out/{bin,share/man/man1}
substituteInPlace Makefile \
--replace /usr $out
'';
meta = with lib; {
description = "Simple yet effective way to benchmark disk IO in Linux systems";
homepage = "https://github.com/camposr/iomelt";
maintainers = with maintainers; [ raspher ];
license = licenses.artistic2;
platforms = platforms.linux;
};
}