quagga: 1.0.20161017 -> 1.2.0

This commit is contained in:
Octavian Cerna 2017-02-17 15:33:13 +02:00
parent 4798196447
commit dcc84d8fcf

View file

@ -1,19 +1,20 @@
{ stdenv, fetchurl, libcap, libnl, readline, net_snmp, less, perl, texinfo }: { stdenv, fetchurl, libcap, libnl, readline, net_snmp, less, perl, texinfo,
pkgconfig, c-ares }:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
name = "quagga-${version}"; name = "quagga-${version}";
version = "1.0.20161017"; version = "1.2.0";
src = fetchurl { src = fetchurl {
url = "mirror://savannah/quagga/${name}.tar.gz"; url = "mirror://savannah/quagga/${name}.tar.gz";
sha256 = "0629f7bkyh0a3n90kkr202g2i44id09qzkl05y8z66blvd6p49lg"; sha256 = "1qyw675hrs3f67zprdbyw91wldmyihv97ibn1f99ypcp6x6n8hqh";
}; };
buildInputs = buildInputs =
[ readline net_snmp ] [ readline net_snmp c-ares ]
++ stdenv.lib.optionals stdenv.isLinux [ libcap libnl ]; ++ stdenv.lib.optionals stdenv.isLinux [ libcap libnl ];
nativeBuildInputs = [ perl texinfo ]; nativeBuildInputs = [ pkgconfig perl texinfo ];
configureFlags = [ configureFlags = [
"--sysconfdir=/etc/quagga" "--sysconfdir=/etc/quagga"