3
0
Fork 0
forked from mirrors/nixpkgs

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 {
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"