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