Unverified Commit aa5c4e63 authored by Wolfgang Walther's avatar Wolfgang Walther Committed by GitHub
Browse files

stress: refactor (#382409)

parents 26229118 4bd83c8f
Loading
Loading
Loading
Loading
+7 −7
Original line number Diff line number Diff line
@@ -5,23 +5,23 @@
  autoreconfHook,
}:

stdenv.mkDerivation rec {
stdenv.mkDerivation (finalAttrs: {
  pname = "stress";
  version = "1.0.7";

  src = fetchFromGitHub {
    owner = "resurrecting-open-source-projects";
    repo = pname;
    rev = version;
    repo = "stress";
    tag = finalAttrs.version;
    hash = "sha256-1r0n/KE4RpO0txIViGxuc7G+I4Ds9AJYcuMx2/R97jg=";
  };

  nativeBuildInputs = [ autoreconfHook ];

  meta = with lib; {
  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 = licenses.gpl2Plus;
    platforms = platforms.unix;
    license = lib.licenses.gpl2Plus;
    platforms = lib.platforms.unix;
    mainProgram = "stress";
  };
}
})