2021-01-15 22:18:51 +00:00
|
|
|
{ lib, stdenv, fetchurl, perl }:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2021-08-18 13:19:15 +00:00
|
|
|
pname = "bonnie++";
|
2023-05-24 13:37:59 +00:00
|
|
|
version = "2.00a";
|
2021-08-18 13:19:15 +00:00
|
|
|
|
2020-04-24 23:36:52 +00:00
|
|
|
src = fetchurl {
|
2021-08-18 13:19:15 +00:00
|
|
|
url = "https://www.coker.com.au/bonnie++/bonnie++-${version}.tgz";
|
2023-05-24 13:37:59 +00:00
|
|
|
sha256 = "sha256-qNM7vYG8frVZzlv25YS5tT+uo5zPtK6S5Y8nJX5Gjw4=";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
enableParallelBuilding = true;
|
|
|
|
|
|
|
|
buildInputs = [ perl ];
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
homepage = "http://www.coker.com.au/bonnie++/";
|
|
|
|
description = "Hard drive and file system benchmark suite";
|
2021-01-15 22:18:51 +00:00
|
|
|
license = lib.licenses.gpl2;
|
2021-01-17 00:15:33 +00:00
|
|
|
platforms = lib.platforms.linux ++ lib.platforms.darwin;
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
}
|