2016-06-19 11:44:23 -07:00
|
|
|
{ stdenv, fetchurl, flex, bison, readline
|
|
|
|
, enableIPv6 ? false }:
|
2013-08-31 08:05:24 -07:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2016-10-26 07:46:57 -07:00
|
|
|
name = "bird-1.6.2";
|
2013-08-31 08:05:24 -07:00
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "ftp://bird.network.cz/pub/bird/${name}.tar.gz";
|
2016-10-26 07:46:57 -07:00
|
|
|
sha256 = "1xlq78mgfyh9yvg9zld9mx75bxg9ajbn4cjjchnf0msh0ibzhlw8";
|
2013-08-31 08:05:24 -07:00
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [ flex bison readline ];
|
|
|
|
|
2015-05-16 14:22:35 -07:00
|
|
|
patches = [
|
|
|
|
./dont-create-sysconfdir.patch
|
|
|
|
];
|
|
|
|
|
|
|
|
configureFlags = [
|
|
|
|
"--localstatedir /var"
|
2016-06-19 11:44:23 -07:00
|
|
|
] ++ stdenv.lib.optional enableIPv6 "--enable-ipv6";
|
2015-05-16 14:22:35 -07:00
|
|
|
|
2013-08-31 08:05:24 -07:00
|
|
|
meta = {
|
2014-11-11 11:27:21 -08:00
|
|
|
description = "BIRD Internet Routing Daemon";
|
2013-08-31 08:05:24 -07:00
|
|
|
homepage = http://bird.network.cz;
|
2014-06-18 21:19:00 -07:00
|
|
|
license = stdenv.lib.licenses.gpl2Plus;
|
2016-06-19 11:43:59 -07:00
|
|
|
maintainers = with stdenv.lib.maintainers; [ viric fpletz ];
|
2014-11-11 11:27:21 -08:00
|
|
|
platforms = stdenv.lib.platforms.linux;
|
2013-08-31 08:05:24 -07:00
|
|
|
};
|
|
|
|
}
|