nixpkgs/pkgs/tools/filesystems/bonnie/default.nix

21 lines
544 B
Nix
Raw Normal View History

{ stdenv, fetchurl, perl }:
2017-04-09 22:15:36 +00:00
stdenv.mkDerivation rec {
name = "bonnie++-1.98";
src = fetchurl {
url = "https://www.coker.com.au/bonnie++/${name}.tgz";
sha256 = "010bmlmi0nrlp3aq7p624sfaj5a65lswnyyxk3cnz1bqig0cn2vf";
};
enableParallelBuilding = true;
buildInputs = [ perl ];
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;
};
}