haproxy: 1.6.6 -> 1.7.2

This commit is contained in:
Pradeep Chhetri 2017-01-26 14:07:51 +05:30
parent 4276844cb0
commit 04b986cd2d

View file

@ -1,13 +1,15 @@
{ stdenv, pkgs, fetchurl, openssl, zlib }: { stdenv, pkgs, fetchurl, openssl, zlib }:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
majorVersion = "1.6"; pname = "haproxy";
version = "${majorVersion}.6"; majorVersion = "1.7";
name = "haproxy-${version}"; minorVersion = "2";
version = "${majorVersion}.${minorVersion}";
name = "${pname}-${version}";
src = fetchurl { src = fetchurl {
url = "http://haproxy.1wt.eu/download/${majorVersion}/src/${name}.tar.gz"; url = "http://www.haproxy.org/download/${majorVersion}/src/${name}.tar.gz";
sha256 = "1xamzzfvwgh3b72f3j74ar9xcn61viszqfbdpf4cdhwc0xikvc7x"; sha256 = "0bsb5q3s1k5gqybv5p8zyvl6zh8iyidv3jb3wfmgwqad5bsl0nzr";
}; };
buildInputs = [ openssl zlib ]; buildInputs = [ openssl zlib ];