stress-ng: 0.06.14 -> 0.09.46
This commit is contained in:
parent
a1b8fe8c8f
commit
e76c6e280c
1 changed files with 14 additions and 7 deletions
|
@ -1,15 +1,21 @@
|
||||||
{ stdenv, fetchurl, attr, keyutils }:
|
{ stdenv, fetchurl
|
||||||
|
, attr, keyutils, libaio, libapparmor, libbsd, libcap, libgcrypt, lksctp-tools, zlib
|
||||||
|
}:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "stress-ng-${version}";
|
name = "stress-ng-${version}";
|
||||||
version = "0.06.14";
|
version = "0.09.46";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
sha256 = "06kycxfwkdrm2vs9xk8cb6c1mki29ymrrqwwxxqx4icnwvq135hv";
|
url = "http://kernel.ubuntu.com/~cking/tarballs/stress-ng/${name}.tar.xz";
|
||||||
url = "http://kernel.ubuntu.com/~cking/tarballs/stress-ng/${name}.tar.gz";
|
sha256 = "0m1f46vqixx2mgqdrjwkl8w9did7n99sy96rbcgkkn9g99y59qjm";
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = [ attr keyutils ];
|
# All platforms inputs then Linux-only ones
|
||||||
|
buildInputs = [ libbsd libgcrypt zlib ]
|
||||||
|
++ stdenv.lib.optionals stdenv.hostPlatform.isLinux [
|
||||||
|
attr keyutils libaio libapparmor libcap lksctp-tools
|
||||||
|
];
|
||||||
|
|
||||||
patchPhase = ''
|
patchPhase = ''
|
||||||
substituteInPlace Makefile --replace "/usr" ""
|
substituteInPlace Makefile --replace "/usr" ""
|
||||||
|
@ -36,9 +42,10 @@ stdenv.mkDerivation rec {
|
||||||
hardware issues such as thermal overruns as well as operating system
|
hardware issues such as thermal overruns as well as operating system
|
||||||
bugs that only occur when a system is being thrashed hard.
|
bugs that only occur when a system is being thrashed hard.
|
||||||
'';
|
'';
|
||||||
homepage = http://kernel.ubuntu.com/~cking/stress-ng;
|
homepage = http://kernel.ubuntu.com/~cking/stress-ng/;
|
||||||
downloadPage = http://kernel.ubuntu.com/~cking/tarballs/stress-ng/;
|
downloadPage = http://kernel.ubuntu.com/~cking/tarballs/stress-ng/;
|
||||||
license = licenses.gpl2Plus;
|
license = licenses.gpl2Plus;
|
||||||
platforms = platforms.linux;
|
maintainers = with maintainers; [ c0bw3b ];
|
||||||
|
platforms = platforms.linux; # TODO: fix https://github.com/NixOS/nixpkgs/pull/50506#issuecomment-439635963
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue