summary refs log tree commit diff
path: root/pkgs/tools/system/stress-ng
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/tools/system/stress-ng')
-rw-r--r--pkgs/tools/system/stress-ng/default.nix9
1 files changed, 6 insertions, 3 deletions
diff --git a/pkgs/tools/system/stress-ng/default.nix b/pkgs/tools/system/stress-ng/default.nix
index 46cbde74a03..a6a8ab77528 100644
--- a/pkgs/tools/system/stress-ng/default.nix
+++ b/pkgs/tools/system/stress-ng/default.nix
@@ -1,14 +1,16 @@
-{ stdenv, fetchurl }:
+{ stdenv, fetchurl, attr }:
 
-let version = "0.03.20"; in
+let version = "0.03.21"; in
 stdenv.mkDerivation rec {
   name = "stress-ng-${version}";
 
   src = fetchurl {
-    sha256 = "0j1nppja56cgsd7vg3465y9kbxy3hl8mbyzc254qqm4z9ij1m3dg";
+    sha256 = "1gshvxi2v01mw4nlv65gxcd75s7syhx2arhjm68a1m6q7hhiv5w5";
     url = "http://kernel.ubuntu.com/~cking/tarballs/stress-ng/${name}.tar.gz";
   };
 
+  buildInputs = [ attr ];
+
   patchPhase = ''
     substituteInPlace Makefile --replace "/usr" ""
   '';
@@ -18,6 +20,7 @@ stdenv.mkDerivation rec {
   installFlags = [ "DESTDIR=$(out)" ];
 
   meta = with stdenv.lib; {
+    inherit version;
     description = "Stress test a computer system";
     longDescription = ''
       Stress test a system in various selectable ways, exercising both various