lol
at v206 35 lines 913 B view raw
1{ stdenv, fetchgit, openssl }: 2 3let 4 version = "4.0.0"; 5 6in stdenv.mkDerivation rec { 7 name = "wrk-${version}"; 8 9 src = fetchgit { 10 url = "https://github.com/wg/wrk.git"; 11 rev = "7cdede916a53da253c995767a92eec36a245a2cc"; 12 sha256 = "0m8i5pk2rj40v28bzrskkzw54v9jqdby52dwfcypannhlhgqnhy2"; 13 }; 14 15 buildInputs = [ openssl ]; 16 17 installPhase = '' 18 mkdir -p $out/bin 19 cp wrk $out/bin 20 ''; 21 22 meta = with stdenv.lib; { 23 description = "HTTP benchmarking tool"; 24 homepage = http://github.com/wg/wrk; 25 longDescription = '' 26 wrk is a modern HTTP benchmarking tool capable of generating 27 significant load when run on a single multi-core CPU. It 28 combines a multithreaded design with scalable event notification 29 systems such as epoll and kqueue. 30 ''; 31 license = licenses.asl20; 32 maintainers = with maintainers; [ ragge ]; 33 platforms = platforms.linux; 34 }; 35}