forked from mirrors/nixpkgs
add haproxy
svn path=/nixpkgs/trunk/; revision=34165
This commit is contained in:
parent
45a98ed3fc
commit
1e7dc29a98
21
pkgs/tools/networking/haproxy/default.nix
Normal file
21
pkgs/tools/networking/haproxy/default.nix
Normal file
|
@ -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/;
|
||||
};
|
||||
}
|
|
@ -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 { };
|
||||
|
|
Loading…
Reference in a new issue