Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 20.09 27 lines 681 B view raw
1{ stdenv, fetchFromGitHub, autoreconfHook, pkgconfig 2, libmysqlclient, libaio 3}: 4 5stdenv.mkDerivation rec { 6 pname = "sysbench"; 7 version = "1.0.20"; 8 9 nativeBuildInputs = [ autoreconfHook pkgconfig ]; 10 buildInputs = [ libmysqlclient libaio ]; 11 12 src = fetchFromGitHub { 13 owner = "akopytov"; 14 repo = pname; 15 rev = version; 16 sha256 = "1sanvl2a52ff4shj62nw395zzgdgywplqvwip74ky8q7s6qjf5qy"; 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}