forked from mirrors/nixpkgs
d7d2ac0af2
Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools. This update was made based on information from https://repology.org/metapackage/sysbench/versions. These checks were done: - built on NixOS - ran ‘/nix/store/d3633p13b97v5r5xswf85v9fxql1jv72-sysbench-1.0.14/bin/sysbench --help’ got 0 exit code - ran ‘/nix/store/d3633p13b97v5r5xswf85v9fxql1jv72-sysbench-1.0.14/bin/sysbench --version’ and found version 1.0.14 - found 1.0.14 with grep in /nix/store/d3633p13b97v5r5xswf85v9fxql1jv72-sysbench-1.0.14 - directory tree listing: https://gist.github.com/56c18be2af370efb1c887dd27074fd4e
23 lines
585 B
Nix
23 lines
585 B
Nix
{ stdenv, fetchFromGitHub, autoreconfHook, pkgconfig, vim, mysql
|
|
, libaio }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
name = "sysbench-1.0.14";
|
|
|
|
nativeBuildInputs = [ autoreconfHook pkgconfig ];
|
|
buildInputs = [ vim mysql.connector-c libaio ];
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "akopytov";
|
|
repo = "sysbench";
|
|
rev = "1.0.14";
|
|
sha256 = "0mp1wqdm87zqyn55z23qf1izqz7ijgcbsysdwqndd98w6m5d86rp";
|
|
};
|
|
|
|
meta = {
|
|
description = "Modular, cross-platform and multi-threaded benchmark tool";
|
|
license = stdenv.lib.licenses.gpl2;
|
|
platforms = stdenv.lib.platforms.linux;
|
|
};
|
|
}
|