diff --git a/pkgs/tools/networking/haproxy/default.nix b/pkgs/tools/networking/haproxy/default.nix new file mode 100644 index 000000000000..0a43251dc350 --- /dev/null +++ b/pkgs/tools/networking/haproxy/default.nix @@ -0,0 +1,21 @@ +{ stdenv, fetchurl }: + +stdenv.mkDerivation { + name = "haproxy-1.4.20"; + + src = fetchurl { + url = http://haproxy.1wt.eu/download/1.4/src/haproxy-1.4.20.tar.gz; + sha256 = "0gi81dg8k3ypljs7ifbppvpfrwrnbafjv41fjpwnyqfwbxa4j2gh"; + }; + + buildInputs = []; + + preConfigure = '' + export makeFlags="TARGET=linux26 PREFIX=$out" + ''; + + meta = { + description = "HAProxy is a free, very fast and reliable solution offering high availability, load balancing, and proxying for TCP and HTTP-based applications."; + homepage = http://haproxy.1wt.eu/; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index c8c218812b73..476fd3ca6148 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -846,6 +846,8 @@ let pigz = callPackage ../tools/compression/pigz { }; + haproxy = callPackage ../tools/networking/haproxy { }; + hardlink = callPackage ../tools/system/hardlink { }; halibut = callPackage ../tools/typesetting/halibut { };