2015-09-26 09:09:52 +03:00
|
|
|
{ stdenv, fetchurl }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation {
|
2016-06-16 19:49:46 +03:00
|
|
|
name = "bonnie++-1.97";
|
2015-09-26 09:09:52 +03:00
|
|
|
src = fetchurl {
|
2016-06-16 19:49:46 +03:00
|
|
|
url = http://www.coker.com.au/bonnie++/experimental/bonnie++-1.97.tgz;
|
|
|
|
sha256 = "10jrqgvacvblyqv38pg5jb9jspyisxaladcrp8k6b2k46xcs1xa4";
|
2015-09-26 09:09:52 +03:00
|
|
|
};
|
2016-06-16 19:49:46 +03:00
|
|
|
|
|
|
|
patches = stdenv.lib.optional stdenv.isDarwin ./bonnie-homebrew.patch;
|
|
|
|
|
2015-09-26 09:09:52 +03:00
|
|
|
enableParallelBuilding = true;
|
2016-06-16 19:49:46 +03:00
|
|
|
|
2015-09-26 09:09:52 +03: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 19:49:46 +03:00
|
|
|
platforms = stdenv.lib.platforms.linux ++ stdenv.lib.platforms.darwin;
|
2015-09-26 09:09:52 +03:00
|
|
|
};
|
|
|
|
}
|