stress-ng: 0.03.20 -> 0.03.21
This commit is contained in:
parent
f029ccadc9
commit
54d262f4ab
@ -1,14 +1,16 @@
|
|||||||
{ stdenv, fetchurl }:
|
{ stdenv, fetchurl, attr }:
|
||||||
|
|
||||||
let version = "0.03.20"; in
|
let version = "0.03.21"; in
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "stress-ng-${version}";
|
name = "stress-ng-${version}";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
sha256 = "0j1nppja56cgsd7vg3465y9kbxy3hl8mbyzc254qqm4z9ij1m3dg";
|
sha256 = "1gshvxi2v01mw4nlv65gxcd75s7syhx2arhjm68a1m6q7hhiv5w5";
|
||||||
url = "http://kernel.ubuntu.com/~cking/tarballs/stress-ng/${name}.tar.gz";
|
url = "http://kernel.ubuntu.com/~cking/tarballs/stress-ng/${name}.tar.gz";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
buildInputs = [ attr ];
|
||||||
|
|
||||||
patchPhase = ''
|
patchPhase = ''
|
||||||
substituteInPlace Makefile --replace "/usr" ""
|
substituteInPlace Makefile --replace "/usr" ""
|
||||||
'';
|
'';
|
||||||
@ -18,6 +20,7 @@ stdenv.mkDerivation rec {
|
|||||||
installFlags = [ "DESTDIR=$(out)" ];
|
installFlags = [ "DESTDIR=$(out)" ];
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
|
inherit version;
|
||||||
description = "Stress test a computer system";
|
description = "Stress test a computer system";
|
||||||
longDescription = ''
|
longDescription = ''
|
||||||
Stress test a system in various selectable ways, exercising both various
|
Stress test a system in various selectable ways, exercising both various
|
||||||
|
Loading…
x
Reference in New Issue
Block a user