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

23 lines
557 B
Nix
Raw Normal View History

2021-01-15 09:19:50 +00:00
{ lib, stdenv, fetchurl, perl }:
2017-04-09 23:15:36 +01:00
stdenv.mkDerivation rec {
pname = "bonnie++";
version = "1.98";
src = fetchurl {
url = "https://www.coker.com.au/bonnie++/bonnie++-${version}.tgz";
sha256 = "010bmlmi0nrlp3aq7p624sfaj5a65lswnyyxk3cnz1bqig0cn2vf";
};
enableParallelBuilding = true;
buildInputs = [ perl ];
meta = {
homepage = "http://www.coker.com.au/bonnie++/";
description = "Hard drive and file system benchmark suite";
2021-01-15 09:19:50 +00:00
license = lib.licenses.gpl2;
2021-01-15 13:21:58 +00:00
platforms = lib.platforms.linux ++ lib.platforms.darwin;
};
}