haproxy: update to 1.4.24 (set platform to linux, for now)
This commit is contained in:
parent
52dd19be1b
commit
bf540904de
@ -1,21 +1,29 @@
|
|||||||
{ stdenv, fetchurl }:
|
{ stdenv, pkgs, fetchurl }:
|
||||||
|
|
||||||
stdenv.mkDerivation {
|
stdenv.mkDerivation rec {
|
||||||
name = "haproxy-1.4.20";
|
version = "1.4.24";
|
||||||
|
name = "haproxy-${version}";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = http://haproxy.1wt.eu/download/1.4/src/haproxy-1.4.20.tar.gz;
|
url = "http://haproxy.1wt.eu/download/1.4/src/${name}.tar.gz";
|
||||||
sha256 = "0gi81dg8k3ypljs7ifbppvpfrwrnbafjv41fjpwnyqfwbxa4j2gh";
|
sha256 = "1vy7jz7l8qdd6ah3y65zarz9x9pf3bs02icxnrckpgh1s3s2h2b8";
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = [];
|
buildInputs = [ ];
|
||||||
|
|
||||||
|
# TODO: make it work on darwin/bsd as well
|
||||||
preConfigure = ''
|
preConfigure = ''
|
||||||
export makeFlags="TARGET=linux26 PREFIX=$out"
|
export makeFlags="TARGET=linux2628 PREFIX=$out"
|
||||||
'';
|
'';
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
description = "HAProxy is a free, very fast and reliable solution offering high availability, load balancing, and proxying for TCP and HTTP-based applications.";
|
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/;
|
homepage = "http://haproxy.1wt.eu";
|
||||||
|
maintainers = [ stdenv.lib.maintainers.garbas ];
|
||||||
|
platforms = stdenv.lib.platforms.linux;
|
||||||
|
license = [
|
||||||
|
pkgs.lib.licenses.gpl2
|
||||||
|
pkgs.lib.licenses.lgpl21
|
||||||
|
];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user