mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-04 03:25:02 +00:00
22 lines
552 B
Nix
22 lines
552 B
Nix
{ stdenv, fetchurl, openssl }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
name = "siege-3.0.8";
|
|
|
|
src = fetchurl {
|
|
url = "http://download.joedog.org/siege/${name}.tar.gz";
|
|
sha256 = "15xj0cl64mzf89i0jknqg37rkrcaqmgs4755l74b4nmp4bky7ddq";
|
|
};
|
|
|
|
NIX_LDFLAGS = stdenv.lib.optionalString stdenv.isLinux "-lgcc_s";
|
|
|
|
configureFlags = [ "--with-ssl=${openssl}" ];
|
|
|
|
meta = with stdenv.lib; {
|
|
description = "HTTP load tester";
|
|
maintainers = with maintainers; [ ocharles raskin ];
|
|
platforms = platforms.linux;
|
|
license = licenses.gpl2Plus;
|
|
};
|
|
}
|