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