From 320367c2739ec86a31af6c446a951f22f97e24b5 Mon Sep 17 00:00:00 2001 From: zimbatm Date: Tue, 23 Aug 2016 10:39:35 +0100 Subject: [PATCH] wrk: 4.0.0 -> 4.0.2 --- pkgs/tools/networking/wrk/default.nix | 19 +++++++++---------- 1 file changed, 9 insertions(+), 10 deletions(-) diff --git a/pkgs/tools/networking/wrk/default.nix b/pkgs/tools/networking/wrk/default.nix index b1a3fc85849e..c8315d0c3f5f 100644 --- a/pkgs/tools/networking/wrk/default.nix +++ b/pkgs/tools/networking/wrk/default.nix @@ -1,18 +1,17 @@ -{ stdenv, fetchgit, openssl }: +{ stdenv, fetchFromGitHub, openssl, perl }: -let - version = "4.0.0"; - -in stdenv.mkDerivation rec { +stdenv.mkDerivation rec { name = "wrk-${version}"; + version = "4.0.2"; - src = fetchgit { - url = "https://github.com/wg/wrk.git"; - rev = "7cdede916a53da253c995767a92eec36a245a2cc"; - sha256 = "1zk7mx27875wkbwcjpbl9zmpyyfic9177wmkif9a16mvj7mvlw9v"; + src = fetchFromGitHub { + owner = "wg"; + repo = "wrk"; + rev = version; + sha256 = "1qg6w8xz4pr227h1gxrbm6ylhqvspk95hvq2f9iakni7s56pkh1w"; }; - buildInputs = [ openssl ]; + buildInputs = [ openssl perl ]; installPhase = '' mkdir -p $out/bin