2017-12-27 07:15:33 -08:00
|
|
|
{ stdenv, fetchFromGitHub, autoreconfHook, pkgconfig, vim, mysql
|
|
|
|
, libaio }:
|
2012-10-26 05:45:16 -07:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2017-04-27 09:42:57 -07:00
|
|
|
name = "sysbench-1.0.6";
|
2015-04-01 16:39:50 -07:00
|
|
|
|
2017-09-05 14:26:13 -07:00
|
|
|
nativeBuildInputs = [ autoreconfHook pkgconfig ];
|
2017-12-27 07:15:33 -08:00
|
|
|
buildInputs = [ vim mysql.connector-c libaio ];
|
2015-04-01 16:39:50 -07:00
|
|
|
|
2017-04-27 09:42:57 -07:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "akopytov";
|
|
|
|
repo = "sysbench";
|
|
|
|
rev = "1.0.6";
|
|
|
|
sha256 = "0y3hlhzrggyyxwf378n006zlg2kwhmhh6vq6il0qn9agjmjmhl5l";
|
2012-10-26 05:45:16 -07:00
|
|
|
};
|
2015-04-01 16:39:50 -07:00
|
|
|
|
2012-10-26 05:45:16 -07:00
|
|
|
meta = {
|
2013-10-06 02:49:53 -07:00
|
|
|
description = "Modular, cross-platform and multi-threaded benchmark tool";
|
2014-06-18 21:19:00 -07:00
|
|
|
license = stdenv.lib.licenses.gpl2;
|
2012-10-26 05:45:16 -07:00
|
|
|
platforms = stdenv.lib.platforms.linux;
|
|
|
|
};
|
|
|
|
}
|