Merge pull request #22901 from tavyc/quagga-1.2

quagga: 1.0.20161017 -> 1.2.0
This commit is contained in:
Graham Christensen 2017-02-17 20:58:51 -05:00 committed by GitHub
commit 946612ffdd

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 {
name = "quagga-${version}";
version = "1.0.20161017";
version = "1.2.0";
src = fetchurl {
url = "mirror://savannah/quagga/${name}.tar.gz";
sha256 = "0629f7bkyh0a3n90kkr202g2i44id09qzkl05y8z66blvd6p49lg";
sha256 = "1qyw675hrs3f67zprdbyw91wldmyihv97ibn1f99ypcp6x6n8hqh";
};
buildInputs =
[ readline net_snmp ]
[ readline net_snmp c-ares ]
++ stdenv.lib.optionals stdenv.isLinux [ libcap libnl ];
nativeBuildInputs = [ perl texinfo ];
nativeBuildInputs = [ pkgconfig perl texinfo ];
configureFlags = [
"--sysconfdir=/etc/quagga"