3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/development/tools/misc/sysbench/default.nix

28 lines
679 B
Nix
Raw Normal View History

{ stdenv, fetchFromGitHub, autoreconfHook, pkgconfig
, libmysqlclient, libaio
}:
2012-10-26 13:45:16 +01:00
stdenv.mkDerivation rec {
pname = "sysbench";
2019-12-24 20:06:15 +00:00
version = "1.0.19";
nativeBuildInputs = [ autoreconfHook pkgconfig ];
buildInputs = [ libmysqlclient libaio ];
2017-04-27 17:42:57 +01:00
src = fetchFromGitHub {
owner = "akopytov";
repo = pname;
rev = version;
2019-12-24 20:06:15 +00:00
sha256 = "1zgqb9cr7ld3vw4a3jhq1mlszhcyjlpr0c8q1jcp1d27l9dcvd1w";
2012-10-26 13:45:16 +01:00
};
enableParallelBuilding = true;
2012-10-26 13:45:16 +01: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 13:45:16 +01:00
platforms = stdenv.lib.platforms.linux;
};
}