1a1bab34cc
* sysbench: 1.0.17 -> 1.0.18 (#72685) * sysbench: set meta.homepage + cleanup build inputs (vim isn't needed since 1.0.12) + enable parallel building
27 lines
679 B
Nix
27 lines
679 B
Nix
{ stdenv, fetchFromGitHub, autoreconfHook, pkgconfig
|
|
, libmysqlclient, libaio
|
|
}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "sysbench";
|
|
version = "1.0.18";
|
|
|
|
nativeBuildInputs = [ autoreconfHook pkgconfig ];
|
|
buildInputs = [ libmysqlclient libaio ];
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "akopytov";
|
|
repo = pname;
|
|
rev = version;
|
|
sha256 = "1r6lkyfp65xqklj1rdfw551srqqyak144agi8x3wjz3wmsbqls19";
|
|
};
|
|
|
|
enableParallelBuilding = true;
|
|
|
|
meta = {
|
|
description = "Modular, cross-platform and multi-threaded benchmark tool";
|
|
homepage = https://github.com/akopytov/sysbench;
|
|
license = stdenv.lib.licenses.gpl2;
|
|
platforms = stdenv.lib.platforms.linux;
|
|
};
|
|
}
|