1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-28 00:22:13 +00:00
nixpkgs/pkgs/tools/networking/siege/default.nix
Kranium Gikos Mendoza e54223e8bb siege: 4.0.1 -> 4.0.2
2016-07-12 13:31:31 +08:00

27 lines
633 B
Nix

{ stdenv, fetchurl, openssl, zlib }:
stdenv.mkDerivation rec {
name = "siege-4.0.2";
src = fetchurl {
url = "http://download.joedog.org/siege/${name}.tar.gz";
sha256 = "0ivc6ah9n2888qgh8dicszhr3mjs42538lfx7dlhxvvvakwq3yvy";
};
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;
};
}