summary refs log tree commit diff
path: root/pkgs/tools/system/stressapptest/default.nix
blob: 2a1bc008e18c58d77a5171ce60113698f0d913dd (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
28
29
30
{ lib
, stdenv
, fetchFromGitHub
, libaio
}:

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

  src = fetchFromGitHub {
    owner = pname;
    repo = pname;
    rev = "refs/tags/v${version}";
    hash = "sha256-lZpF7PdUwKnV0ha6xkLvi7XYFZQ4Avy0ltlXxukuWjM=";
  };

  buildInputs = [
    libaio
  ];

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