1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-23 14:11:36 +00:00
nixpkgs/pkgs/servers/bird/default.nix

30 lines
732 B
Nix
Raw Normal View History

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