2021-01-11 08:54:33 +01:00
|
|
|
{ lib, stdenv, fetchurl }:
|
2015-01-06 11:15:40 +01:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2021-07-27 19:38:37 +02:00
|
|
|
pname = "stress";
|
|
|
|
version = "1.0.4";
|
2021-01-19 22:20:11 +01:00
|
|
|
|
2015-01-06 11:15:40 +01:00
|
|
|
src = fetchurl {
|
2021-07-27 19:38:37 +02:00
|
|
|
url = "https://people.seas.harvard.edu/~apw/stress/stress-${version}.tar.gz";
|
2015-01-06 11:15:40 +01:00
|
|
|
sha256 = "0nw210jajk38m3y7h8s130ps2qsbz7j75wab07hi2r3hlz14yzh5";
|
|
|
|
};
|
|
|
|
|
2021-01-11 08:54:33 +01:00
|
|
|
meta = with lib; {
|
2015-01-06 11:15:40 +01: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 23:25:35 +02:00
|
|
|
platforms = platforms.unix;
|
2015-01-06 11:15:40 +01:00
|
|
|
};
|
|
|
|
}
|