nixpkgs/pkgs/tools/networking/siege/default.nix
2018-01-23 13:11:57 -06:00

26 lines
633 B
Nix

{ stdenv, fetchurl, openssl, zlib }:
stdenv.mkDerivation rec {
name = "siege-4.0.4";
src = fetchurl {
url = "http://download.joedog.org/siege/${name}.tar.gz";
sha256 = "0vzaj5nzb0fir2a4l7ghv3wa5d1nk2ss8gmwjb6bjavjplccyzcg";
};
NIX_LDFLAGS = stdenv.lib.optionalString stdenv.isLinux "-lgcc_s";
buildInputs = [ openssl zlib ];
configureFlags = [
"--with-ssl=${openssl.dev}"
"--with-zlib=${zlib.dev}"
];
meta = with stdenv.lib; {
description = "HTTP load tester";
maintainers = with maintainers; [ ocharles raskin ];
platforms = platforms.linux;
license = licenses.gpl2Plus;
};
}