2021-01-23 12:26:19 +00:00
|
|
|
{ lib, stdenv, fetchFromGitHub, autoreconfHook, pkg-config
|
2019-11-05 17:50:06 +00:00
|
|
|
, libmysqlclient, libaio
|
|
|
|
}:
|
2012-10-26 13:45:16 +01:00
|
|
|
|
2019-11-05 17:50:06 +00:00
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "sysbench";
|
2020-05-04 10:17:21 +01:00
|
|
|
version = "1.0.20";
|
2015-04-02 00:39:50 +01:00
|
|
|
|
2021-01-19 06:50:56 +00:00
|
|
|
nativeBuildInputs = [ autoreconfHook pkg-config ];
|
2019-11-05 17:50:06 +00:00
|
|
|
buildInputs = [ libmysqlclient libaio ];
|
2015-04-02 00:39:50 +01:00
|
|
|
|
2017-04-27 17:42:57 +01:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "akopytov";
|
2019-11-05 17:50:06 +00:00
|
|
|
repo = pname;
|
|
|
|
rev = version;
|
2020-05-04 10:17:21 +01:00
|
|
|
sha256 = "1sanvl2a52ff4shj62nw395zzgdgywplqvwip74ky8q7s6qjf5qy";
|
2012-10-26 13:45:16 +01:00
|
|
|
};
|
2015-04-02 00:39:50 +01:00
|
|
|
|
2019-11-05 17:50:06 +00:00
|
|
|
enableParallelBuilding = true;
|
|
|
|
|
2012-10-26 13:45:16 +01:00
|
|
|
meta = {
|
2013-10-06 10:49:53 +01:00
|
|
|
description = "Modular, cross-platform and multi-threaded benchmark tool";
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "https://github.com/akopytov/sysbench";
|
2021-01-23 12:26:19 +00:00
|
|
|
license = lib.licenses.gpl2;
|
|
|
|
platforms = lib.platforms.linux;
|
2012-10-26 13:45:16 +01:00
|
|
|
};
|
|
|
|
}
|