bonnie++: upgrade to 1.97

Also a patch with some OS X specific changes (stolen from Homebrew).
This commit is contained in:
Kirill Elagin
2016-06-16 19:49:46 +03:00
parent 7a6ec0a0ee
commit 17b19977cf
2 changed files with 165 additions and 4 deletions
+8 -4
View File
@@ -1,16 +1,20 @@
{ stdenv, fetchurl }:
stdenv.mkDerivation {
name = "bonnie++-1.03e";
name = "bonnie++-1.97";
src = fetchurl {
url = http://www.coker.com.au/bonnie++/bonnie++-1.03e.tgz;
sha256 = "1jz2l8dz08c7vxvchigisv5a293yz95bw1k81dv6bgrlcq8ncf6b";
url = http://www.coker.com.au/bonnie++/experimental/bonnie++-1.97.tgz;
sha256 = "10jrqgvacvblyqv38pg5jb9jspyisxaladcrp8k6b2k46xcs1xa4";
};
patches = stdenv.lib.optional stdenv.isDarwin ./bonnie-homebrew.patch;
enableParallelBuilding = true;
meta = {
homepage = "http://www.coker.com.au/bonnie++/";
description = "Hard drive and file system benchmark suite";
license = stdenv.lib.licenses.gpl2;
platforms = stdenv.lib.platforms.linux;
platforms = stdenv.lib.platforms.linux ++ stdenv.lib.platforms.darwin;
};
}