3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/development/tools/misc/sysbench/default.nix
2019-12-24 12:06:15 -08:00

28 lines
679 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;
};
}