mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-16 14:54:29 +01:00
siege: 3.0.8 -> 4.0.1
This commit is contained in:
parent
44acb6833b
commit
f690ccb26f
1 changed files with 8 additions and 5 deletions
|
@ -1,18 +1,21 @@
|
|||
{ stdenv, fetchurl, openssl }:
|
||||
{ stdenv, fetchurl, openssl, zlib }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "siege-3.0.8";
|
||||
name = "siege-4.0.1";
|
||||
|
||||
src = fetchurl {
|
||||
url = "http://download.joedog.org/siege/${name}.tar.gz";
|
||||
sha256 = "15xj0cl64mzf89i0jknqg37rkrcaqmgs4755l74b4nmp4bky7ddq";
|
||||
sha256 = "0dr8k64s7zlhy3w8n1br0h6xd06p09p9809l9rp13isf10jp5pgx";
|
||||
};
|
||||
|
||||
NIX_LDFLAGS = stdenv.lib.optionalString stdenv.isLinux "-lgcc_s";
|
||||
|
||||
buildInputs = [ openssl ];
|
||||
buildInputs = [ openssl zlib ];
|
||||
|
||||
configureFlags = [ "--with-ssl=${openssl.dev}" ];
|
||||
configureFlags = [
|
||||
"--with-ssl=${openssl.dev}"
|
||||
"--with-zlib=${zlib.dev}"
|
||||
];
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "HTTP load tester";
|
||||
|
|
Loading…
Reference in a new issue