Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at release-19.03 22 lines 585 B view raw
1{ stdenv, fetchFromGitHub, autoreconfHook, pkgconfig, vim, mysql 2, libaio }: 3 4stdenv.mkDerivation rec { 5 name = "sysbench-1.0.16"; 6 7 nativeBuildInputs = [ autoreconfHook pkgconfig ]; 8 buildInputs = [ vim mysql.connector-c libaio ]; 9 10 src = fetchFromGitHub { 11 owner = "akopytov"; 12 repo = "sysbench"; 13 rev = "1.0.16"; 14 sha256 = "0ypain0m1yqn7yqfb5847fdph6a6m0rn2rnqbnkxcxz5g85kv1rg"; 15 }; 16 17 meta = { 18 description = "Modular, cross-platform and multi-threaded benchmark tool"; 19 license = stdenv.lib.licenses.gpl2; 20 platforms = stdenv.lib.platforms.linux; 21 }; 22}