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

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

23 lines
617 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";
2024-04-26 11:35:31 +00:00
license = licenses.gpl2Plus;
2017-06-21 21:25:35 +00:00
platforms = platforms.unix;
2023-11-27 01:17:53 +00:00
mainProgram = "stress";
};
}