mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-26 21:33:03 +03:00
21 lines
599 B
Nix
21 lines
599 B
Nix
{ stdenv, fetchurl }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
name = "bonnie++-1.97.3";
|
|
src = fetchurl {
|
|
url = "http://www.coker.com.au/bonnie++/experimental/${name}.tgz";
|
|
sha256 = "0vkl42rsrsy95fc1ykc6g8rsdbnpxayvdaihnnkly1fww1m3hyz2";
|
|
};
|
|
|
|
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 ++ stdenv.lib.platforms.darwin;
|
|
};
|
|
}
|