1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-23 22:20:51 +00:00
nixpkgs/pkgs/tools/networking/haproxy/default.nix
2014-06-01 14:40:37 +01:00

38 lines
1.1 KiB
Nix

{ stdenv, pkgs, fetchurl }:
stdenv.mkDerivation rec {
version = "1.4.25";
name = "haproxy-${version}";
src = fetchurl {
url = "http://haproxy.1wt.eu/download/1.4/src/${name}.tar.gz";
sha256 = "0qnvj6kbnrrc69nsp2dn5iv2z79adzkcgqssnk30iwvvwg0qwh44";
};
buildInputs = [ ];
# TODO: make it work on darwin/bsd as well
preConfigure = ''
export makeFlags="TARGET=linux2628 PREFIX=$out"
'';
meta = {
description = "Reliable, high performance TCP/HTTP load balancer";
longDescription = ''
HAProxy is a free, very fast and reliable solution offering high
availability, load balancing, and proxying for TCP and HTTP-based
applications. It is particularly suited for web sites crawling under very
high loads while needing persistence or Layer7 processing. Supporting
tens of thousands of connections is clearly realistic with todays
hardware.
'';
homepage = http://haproxy.1wt.eu;
maintainers = [ stdenv.lib.maintainers.garbas ];
platforms = stdenv.lib.platforms.linux;
/* TODO license = [
stdenv.lib.licenses.gpl2
stdenv.lib.licenses.lgpl21
];*/
};
}