depot/third_party/nixpkgs/pkgs/development/tools/misc/sysbench/default.nix
Default email ae91cbe6cc Project import generated by Copybara.
GitOrigin-RevId: 536fe36e23ab0fc8b7f35c24603422eee9fc17a2
2021-02-05 18:12:51 +01:00

27 lines
674 B
Nix

{ lib, stdenv, fetchFromGitHub, autoreconfHook, pkg-config
, libmysqlclient, libaio
}:
stdenv.mkDerivation rec {
pname = "sysbench";
version = "1.0.20";
nativeBuildInputs = [ autoreconfHook pkg-config ];
buildInputs = [ libmysqlclient libaio ];
src = fetchFromGitHub {
owner = "akopytov";
repo = pname;
rev = version;
sha256 = "1sanvl2a52ff4shj62nw395zzgdgywplqvwip74ky8q7s6qjf5qy";
};
enableParallelBuilding = true;
meta = {
description = "Modular, cross-platform and multi-threaded benchmark tool";
homepage = "https://github.com/akopytov/sysbench";
license = lib.licenses.gpl2;
platforms = lib.platforms.linux;
};
}