mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-25 16:33:15 +00:00
siege: 3.0.8 -> 4.0.1
This commit is contained in:
parent
44acb6833b
commit
f690ccb26f
@ -1,18 +1,21 @@
|
|||||||
{ stdenv, fetchurl, openssl }:
|
{ stdenv, fetchurl, openssl, zlib }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "siege-3.0.8";
|
name = "siege-4.0.1";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "http://download.joedog.org/siege/${name}.tar.gz";
|
url = "http://download.joedog.org/siege/${name}.tar.gz";
|
||||||
sha256 = "15xj0cl64mzf89i0jknqg37rkrcaqmgs4755l74b4nmp4bky7ddq";
|
sha256 = "0dr8k64s7zlhy3w8n1br0h6xd06p09p9809l9rp13isf10jp5pgx";
|
||||||
};
|
};
|
||||||
|
|
||||||
NIX_LDFLAGS = stdenv.lib.optionalString stdenv.isLinux "-lgcc_s";
|
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; {
|
meta = with stdenv.lib; {
|
||||||
description = "HTTP load tester";
|
description = "HTTP load tester";
|
||||||
|
Loading…
Reference in New Issue
Block a user