forked from mirrors/nixpkgs
23 lines
581 B
Nix
23 lines
581 B
Nix
{ stdenv, fetchFromGitHub, autoreconfHook, pkgconfig, vim, mysql
|
|
, libaio }:
|
|
|
|
stdenv.mkDerivation {
|
|
name = "sysbench-1.0.17";
|
|
|
|
nativeBuildInputs = [ autoreconfHook pkgconfig ];
|
|
buildInputs = [ vim mysql.connector-c libaio ];
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "akopytov";
|
|
repo = "sysbench";
|
|
rev = "1.0.17";
|
|
sha256 = "02i9knvp0bjw6ri848xxiy2dbww2xv70nah9yn67a6zgw617hwa6";
|
|
};
|
|
|
|
meta = {
|
|
description = "Modular, cross-platform and multi-threaded benchmark tool";
|
|
license = stdenv.lib.licenses.gpl2;
|
|
platforms = stdenv.lib.platforms.linux;
|
|
};
|
|
}
|