nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at 20.03 27 lines 679 B view raw
1{ stdenv, fetchFromGitHub, autoreconfHook, pkgconfig 2, libmysqlclient, libaio 3}: 4 5stdenv.mkDerivation rec { 6 pname = "sysbench"; 7 version = "1.0.19"; 8 9 nativeBuildInputs = [ autoreconfHook pkgconfig ]; 10 buildInputs = [ libmysqlclient libaio ]; 11 12 src = fetchFromGitHub { 13 owner = "akopytov"; 14 repo = pname; 15 rev = version; 16 sha256 = "1zgqb9cr7ld3vw4a3jhq1mlszhcyjlpr0c8q1jcp1d27l9dcvd1w"; 17 }; 18 19 enableParallelBuilding = true; 20 21 meta = { 22 description = "Modular, cross-platform and multi-threaded benchmark tool"; 23 homepage = https://github.com/akopytov/sysbench; 24 license = stdenv.lib.licenses.gpl2; 25 platforms = stdenv.lib.platforms.linux; 26 }; 27}