Merge pull request #8191 from ragnard/wrk-update

wrk: Update from 3.1.2 to 4.0.0 (master)
This commit is contained in:
lethalman 2015-06-05 18:31:18 +02:00
commit 9683743e68
1 changed files with 5 additions and 6 deletions

View File

@ -1,20 +1,19 @@
{ stdenv, fetchgit, openssl }: { stdenv, fetchgit, openssl }:
let let
version = "3.1.2"; version = "4.0.0";
in stdenv.mkDerivation rec { in stdenv.mkDerivation rec {
name = "wrk-${version}"; name = "wrk-${version}";
src = fetchgit { src = fetchgit {
url = "https://github.com/wg/wrk.git"; url = "https://github.com/wg/wrk.git";
rev = "a52c770204a732aa63e1bb6eb241a70949e3a2a9"; rev = "7cdede916a53da253c995767a92eec36a245a2cc";
sha256 = "0b81lg251ivi94f7kfgz8ws4xns5p7hw5qiwjwwlc3dimjgrg387"; sha256 = "0m8i5pk2rj40v28bzrskkzw54v9jqdby52dwfcypannhlhgqnhy2";
}; };
NIX_CFLAGS_COMPILE = "-I${openssl}/include"; buildInputs = [ openssl ];
NIX_CFLAGS_LINK = "-L${openssl}/lib";
installPhase = '' installPhase = ''
mkdir -p $out/bin mkdir -p $out/bin
cp wrk $out/bin cp wrk $out/bin