Merge pull request #289786 from raspher/iomelt

iomelt: fix broken urls, reformat
This commit is contained in:
Guillaume Girol 2024-03-03 21:23:18 +01:00 committed by GitHub
commit b07dc8997c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

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