depot/third_party/nixpkgs/pkgs/development/tools/misc/sysbench/default.nix
Default email 8ac5e011d6 Project import generated by Copybara.
GitOrigin-RevId: 2c3273caa153ee8eb5786bc8141b85b859e7efd7
2020-04-24 19:36:52 -04:00

27 lines
681 B
Nix

{ stdenv, fetchFromGitHub, autoreconfHook, pkgconfig
, libmysqlclient, libaio
}:
stdenv.mkDerivation rec {
pname = "sysbench";
version = "1.0.19";
nativeBuildInputs = [ autoreconfHook pkgconfig ];
buildInputs = [ libmysqlclient libaio ];
src = fetchFromGitHub {
owner = "akopytov";
repo = pname;
rev = version;
sha256 = "1zgqb9cr7ld3vw4a3jhq1mlszhcyjlpr0c8q1jcp1d27l9dcvd1w";
};
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;
};
}