summary refs log tree commit diff
path: root/pkgs/tools/system/ioping/default.nix
blob: 54721f7ce73d2f1e420d28402c1eed14ad1ad827 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
{ stdenv, fetchurl }:

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";
  };

  makeFlags = "PREFIX=$(out)";

  meta = with stdenv.lib; {
    description = "Disk I/O latency measuring tool";
    maintainers = with maintainers; [ raskin ];
    platforms = with platforms; unix;
    license = licenses.gpl3Plus;
    homepage = https://github.com/koct9i/ioping;
  };
}