3
0
Fork 0
forked from mirrors/nixpkgs

wrk: 4.0.0 -> 4.0.2

This commit is contained in:
zimbatm 2016-08-23 10:39:35 +01:00
parent e130fa5958
commit 320367c273

View file

@ -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