2014-07-11 16:09:52 +02:00
|
|
|
{ stdenv, fetchurl, openssl }:
|
2014-02-02 15:04:46 +01:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2014-11-05 08:53:59 +01:00
|
|
|
name = "siege-3.0.8";
|
2014-02-02 15:04:46 +01:00
|
|
|
|
2014-01-11 23:27:49 +01:00
|
|
|
src = fetchurl {
|
2014-11-05 08:53:59 +01:00
|
|
|
url = "http://download.joedog.org/siege/${name}.tar.gz";
|
|
|
|
sha256 = "15xj0cl64mzf89i0jknqg37rkrcaqmgs4755l74b4nmp4bky7ddq";
|
2014-01-20 12:58:22 +01:00
|
|
|
};
|
2014-02-02 15:04:46 +01:00
|
|
|
|
|
|
|
NIX_LDFLAGS = stdenv.lib.optionalString stdenv.isLinux "-lgcc_s";
|
|
|
|
|
2014-07-11 16:09:52 +02:00
|
|
|
configureFlags = [ "--with-ssl=${openssl}" ];
|
|
|
|
|
2014-02-02 15:04:46 +01:00
|
|
|
meta = with stdenv.lib; {
|
2014-01-20 12:58:22 +01:00
|
|
|
description = "HTTP load tester";
|
2014-02-02 15:04:46 +01:00
|
|
|
maintainers = with maintainers; [ ocharles raskin ];
|
|
|
|
platforms = platforms.linux;
|
|
|
|
license = licenses.gpl2Plus;
|
2014-01-11 23:27:49 +01:00
|
|
|
};
|
|
|
|
}
|