3
0
Fork 0
forked from mirrors/nixpkgs

ioping: 0.9 -> 1.0

This commit is contained in:
ndowens 2017-02-28 20:18:28 -06:00
parent 61785c5531
commit f5c98a8a72

View file

@ -1,18 +1,21 @@
{ stdenv, fetchurl }:
{ stdenv, fetchFromGitHub }:
stdenv.mkDerivation rec {
name = "ioping-${version}";
version = "0.9";
src = fetchurl {
url = "https://github.com/koct9i/ioping/releases/download/v${version}/${name}.tar.gz";
sha256 = "0pbp7b3304y9yyv2w41l3898h5q8w77hnnnq1vz8qz4qfl4467lm";
version = "1.0";
src = fetchFromGitHub {
owner = "koct9i";
repo = "ioping";
rev = "v${version}";
sha256 = "0yn7wgd6sd39zmr5l97zd6sq1ah7l49k1h7dhgx0nv96fa4r2y9h";
};
makeFlags = "PREFIX=$(out)";
meta = with stdenv.lib; {
description = "Disk I/O latency measuring tool";
maintainers = with maintainers; [ raskin ];
maintainers = with maintainers; [ raskin ndowens ];
platforms = platforms.unix;
license = licenses.gpl3Plus;
homepage = https://github.com/koct9i/ioping;