mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-26 08:53:21 +00:00
755b915a15
nix run nixpkgs#silver-searcher -- -G '\.nix$' -0l 'description.*"[Aa]n?' pkgs \ | xargs -0 nix run nixpkgs#gnused -- -i '' -Ee 's/(description.*")[Aa]n? (.)/\1\U\2/'
30 lines
717 B
Nix
30 lines
717 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;
|
|
};
|
|
}
|