2015-09-26 07:09:52 +01:00
|
|
|
{ stdenv, fetchurl }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation {
|
2016-06-16 17:49:46 +01:00
|
|
|
name = "bonnie++-1.97";
|
2015-09-26 07:09:52 +01:00
|
|
|
src = fetchurl {
|
2016-06-16 17:49:46 +01:00
|
|
|
url = http://www.coker.com.au/bonnie++/experimental/bonnie++-1.97.tgz;
|
|
|
|
sha256 = "10jrqgvacvblyqv38pg5jb9jspyisxaladcrp8k6b2k46xcs1xa4";
|
2015-09-26 07:09:52 +01:00
|
|
|
};
|
2016-06-16 17:49:46 +01:00
|
|
|
|
|
|
|
patches = stdenv.lib.optional stdenv.isDarwin ./bonnie-homebrew.patch;
|
|
|
|
|
2015-09-26 07:09:52 +01:00
|
|
|
enableParallelBuilding = true;
|
2016-06-16 17:49:46 +01:00
|
|
|
|
2015-09-26 07:09:52 +01:00
|
|
|
meta = {
|
|
|
|
homepage = "http://www.coker.com.au/bonnie++/";
|
|
|
|
description = "Hard drive and file system benchmark suite";
|
|
|
|
license = stdenv.lib.licenses.gpl2;
|
2016-06-16 17:49:46 +01:00
|
|
|
platforms = stdenv.lib.platforms.linux ++ stdenv.lib.platforms.darwin;
|
2015-09-26 07:09:52 +01:00
|
|
|
};
|
|
|
|
}
|