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