haproxy: update to 1.4.24 (set platform to linux, for now)

This commit is contained in:
Rok Garbas 2013-07-03 03:36:15 +02:00
parent 52dd19be1b
commit bf540904de

View file

@ -1,21 +1,29 @@
{ stdenv, fetchurl }:
{ stdenv, pkgs, fetchurl }:
stdenv.mkDerivation {
name = "haproxy-1.4.20";
stdenv.mkDerivation rec {
version = "1.4.24";
name = "haproxy-${version}";
src = fetchurl {
url = http://haproxy.1wt.eu/download/1.4/src/haproxy-1.4.20.tar.gz;
sha256 = "0gi81dg8k3ypljs7ifbppvpfrwrnbafjv41fjpwnyqfwbxa4j2gh";
url = "http://haproxy.1wt.eu/download/1.4/src/${name}.tar.gz";
sha256 = "1vy7jz7l8qdd6ah3y65zarz9x9pf3bs02icxnrckpgh1s3s2h2b8";
};
buildInputs = [];
buildInputs = [ ];
# TODO: make it work on darwin/bsd as well
preConfigure = ''
export makeFlags="TARGET=linux26 PREFIX=$out"
export makeFlags="TARGET=linux2628 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/;
homepage = "http://haproxy.1wt.eu";
maintainers = [ stdenv.lib.maintainers.garbas ];
platforms = stdenv.lib.platforms.linux;
license = [
pkgs.lib.licenses.gpl2
pkgs.lib.licenses.lgpl21
];
};
}