diff --git a/pkgs/by-name/st/stress/package.nix b/pkgs/by-name/st/stress/package.nix index 6aee23949676..a61ba45c7b12 100644 --- a/pkgs/by-name/st/stress/package.nix +++ b/pkgs/by-name/st/stress/package.nix @@ -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"; }; -} +})