nixpkgs/pkgs/tools/networking/siege/default.nix

27 lines
633 B
Nix
Raw Normal View History

2016-04-28 07:43:30 -07:00
{ stdenv, fetchurl, openssl, zlib }:
2014-02-02 06:04:46 -08:00
stdenv.mkDerivation rec {
2016-04-28 07:43:30 -07:00
name = "siege-4.0.1";
2014-02-02 06:04:46 -08:00
2014-01-11 14:27:49 -08:00
src = fetchurl {
2014-11-04 23:53:59 -08:00
url = "http://download.joedog.org/siege/${name}.tar.gz";
2016-04-28 07:43:30 -07:00
sha256 = "0dr8k64s7zlhy3w8n1br0h6xd06p09p9809l9rp13isf10jp5pgx";
};
2014-02-02 06:04:46 -08:00
NIX_LDFLAGS = stdenv.lib.optionalString stdenv.isLinux "-lgcc_s";
2016-04-28 07:43:30 -07:00
buildInputs = [ openssl zlib ];
2016-04-28 07:43:30 -07:00
configureFlags = [
"--with-ssl=${openssl.dev}"
"--with-zlib=${zlib.dev}"
];
2014-07-11 07:09:52 -07:00
2014-02-02 06:04:46 -08:00
meta = with stdenv.lib; {
description = "HTTP load tester";
2014-02-02 06:04:46 -08:00
maintainers = with maintainers; [ ocharles raskin ];
platforms = platforms.linux;
license = licenses.gpl2Plus;
2014-01-11 14:27:49 -08:00
};
}