28 lines
679 B
Nix
Raw Normal View History

{ stdenv, fetchFromGitHub, autoreconfHook, pkgconfig
, libmysqlclient, libaio
}:
2012-10-26 14:45:16 +02:00
stdenv.mkDerivation rec {
pname = "sysbench";
version = "1.0.18";
nativeBuildInputs = [ autoreconfHook pkgconfig ];
buildInputs = [ libmysqlclient libaio ];
2017-04-27 12:42:57 -04:00
src = fetchFromGitHub {
owner = "akopytov";
repo = pname;
rev = version;
sha256 = "1r6lkyfp65xqklj1rdfw551srqqyak144agi8x3wjz3wmsbqls19";
2012-10-26 14:45:16 +02:00
};
enableParallelBuilding = true;
2012-10-26 14:45:16 +02:00
meta = {
description = "Modular, cross-platform and multi-threaded benchmark tool";
homepage = https://github.com/akopytov/sysbench;
license = stdenv.lib.licenses.gpl2;
2012-10-26 14:45:16 +02:00
platforms = stdenv.lib.platforms.linux;
};
}