mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-19 12:11:28 +00:00
Merge pull request #289786 from raspher/iomelt
iomelt: fix broken urls, reformat
This commit is contained in:
commit
b07dc8997c
|
@ -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;
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue