3
0
Fork 0
forked from mirrors/nixpkgs

stress-ng: 0.03.20 -> 0.03.21

This commit is contained in:
Tobias Geerinckx-Rice 2015-04-15 03:12:23 +02:00
parent f029ccadc9
commit 54d262f4ab

View file

@ -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