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

stdenv.mkDerivation rec {
  pname = "stress";
  version = "1.0.4";

  src = fetchurl {
    url = "https://people.seas.harvard.edu/~apw/stress/stress-${version}.tar.gz";
    sha256 = "0nw210jajk38m3y7h8s130ps2qsbz7j75wab07hi2r3hlz14yzh5";
  };

  meta = with lib; {
    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;
    platforms = platforms.unix;
  };
}