2023-06-21 13:08:31 +00:00
|
|
|
{ lib, stdenv, fetchFromGitHub, autoreconfHook }:
|
2015-01-06 10:15:40 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2021-07-27 17:38:37 +00:00
|
|
|
pname = "stress";
|
2023-06-21 13:08:31 +00:00
|
|
|
version = "1.0.7";
|
2021-01-19 21:20:11 +00:00
|
|
|
|
2023-06-21 13:08:31 +00:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "resurrecting-open-source-projects";
|
|
|
|
repo = pname;
|
|
|
|
rev = version;
|
|
|
|
hash = "sha256-1r0n/KE4RpO0txIViGxuc7G+I4Ds9AJYcuMx2/R97jg=";
|
2015-01-06 10:15:40 +00:00
|
|
|
};
|
|
|
|
|
2023-06-21 13:08:31 +00:00
|
|
|
nativeBuildInputs = [ autoreconfHook ];
|
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2015-01-06 10:15:40 +00:00
|
|
|
description = "Simple workload generator for POSIX systems. It imposes a configurable amount of CPU, memory, I/O, and disk stress on the system";
|
|
|
|
license = licenses.gpl2;
|
2017-06-21 21:25:35 +00:00
|
|
|
platforms = platforms.unix;
|
2015-01-06 10:15:40 +00:00
|
|
|
};
|
|
|
|
}
|