nixpkgs/pkgs/tools/system/stress/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

22 lines
585 B
Nix
Raw Normal View History

2023-06-21 13:08:31 +00:00
{ lib, stdenv, fetchFromGitHub, autoreconfHook }:
stdenv.mkDerivation rec {
pname = "stress";
2023-06-21 13:08:31 +00:00
version = "1.0.7";
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=";
};
2023-06-21 13:08:31 +00:00
nativeBuildInputs = [ autoreconfHook ];
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;
2017-06-21 21:25:35 +00:00
platforms = platforms.unix;
};
}