2014-01-20 03:58:22 -08:00
|
|
|
{ stdenv, fetchurl, lib }:
|
2014-01-11 14:27:49 -08:00
|
|
|
let
|
2014-01-27 06:14:12 -08:00
|
|
|
version = "3.0.6";
|
2014-01-11 14:27:49 -08:00
|
|
|
baseName = "siege";
|
|
|
|
in stdenv.mkDerivation rec {
|
|
|
|
name = "${baseName}-${version}";
|
|
|
|
src = fetchurl {
|
|
|
|
url = "http://www.joedog.org/pub/siege/${name}.tar.gz";
|
2014-01-27 06:14:12 -08:00
|
|
|
sha256 = "0nwcj2s804z7yd20pa0cl010m0qgf22a02305i9jwxynwdj9kdvq";
|
2014-01-20 03:58:22 -08:00
|
|
|
};
|
|
|
|
meta = {
|
|
|
|
description = "HTTP load tester";
|
|
|
|
maintainers = with lib.maintainers; [ ocharles raskin ];
|
|
|
|
platforms = with lib.platforms; linux;
|
|
|
|
license = with lib.licenses; gpl2Plus;
|
2014-01-11 14:27:49 -08:00
|
|
|
};
|
|
|
|
NIX_LDFLAGS = stdenv.lib.optionalString stdenv.isLinux "-lgcc_s";
|
|
|
|
}
|