summary refs log tree commit diff
path: root/pkgs/tools/filesystems/bonnie/default.nix
blob: e34e5289ad648d264ebb6fd3d0fd852f9941644f (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
{ lib, stdenv, fetchurl, perl }:

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 = lib.licenses.gpl2;
    platforms = lib.platforms.linux ++ lib.platforms.darwin;
  };
}