depot/third_party/nixpkgs/pkgs/by-name/st/stress/package.nix
Luke Granger-Brown f92e137cfb
Some checks failed
/ combine-systems (push) Blocked by required conditions
/ build (x86_64-linux) (push) Failing after 11m44s
/ build (aarch64-linux) (push) Failing after 11m50s
/ build (push) Failing after 16m42s
Merge commit '1e2ed035f4bebc9adad02b365508ad96f7df87c1' into HEAD
2025-03-02 02:23:32 +00:00

27 lines
648 B
Nix

{
lib,
stdenv,
fetchFromGitHub,
autoreconfHook,
}:
stdenv.mkDerivation (finalAttrs: {
pname = "stress";
version = "1.0.7";
src = fetchFromGitHub {
owner = "resurrecting-open-source-projects";
repo = "stress";
tag = finalAttrs.version;
hash = "sha256-1r0n/KE4RpO0txIViGxuc7G+I4Ds9AJYcuMx2/R97jg=";
};
nativeBuildInputs = [ autoreconfHook ];
meta = {
description = "Simple workload generator for POSIX systems. It imposes a configurable amount of CPU, memory, I/O, and disk stress on the system";
license = lib.licenses.gpl2Plus;
platforms = lib.platforms.unix;
mainProgram = "stress";
};
})