about summary refs log tree commit diff
path: root/nixpkgs/pkgs/tools/system/stressapptest/default.nix
blob: 9b7eb0a6f3e2bf7f149c50fdef97cde811c1117d (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
{ lib
, stdenv
, fetchFromGitHub
, libaio
}:

stdenv.mkDerivation rec {
  pname = "stressapptest";
  version = "1.0.9";

  src = fetchFromGitHub {
    owner = pname;
    repo = pname;
    rev = "v${version}";
    sha256 = "1qzj6h6adx042rb9aiz916jna269whibvj5ys4p5nwdp17fqh922";
  };

  buildInputs = [ libaio ];

  meta = with lib; {
    description = "Userspace memory and IO stress test tool";
    homepage = "https://github.com/stressapptest/stressapptest";
    license = with licenses; [ asl20 ];
    maintainers = with lib.maintainers; [ fab ];
    platforms = platforms.unix;
  };
}