diff --git a/pkgs/servers/bird/default.nix b/pkgs/servers/bird/default.nix index b73457293126..3180238c618b 100644 --- a/pkgs/servers/bird/default.nix +++ b/pkgs/servers/bird/default.nix @@ -1,11 +1,12 @@ -{ stdenv, fetchurl, flex, bison, readline }: +{ stdenv, fetchurl, flex, bison, readline +, enableIPv6 ? false }: stdenv.mkDerivation rec { - name = "bird-1.5.0"; + name = "bird-1.6.0"; src = fetchurl { url = "ftp://bird.network.cz/pub/bird/${name}.tar.gz"; - sha256 = "0pbvq6rx4ww46vcdslpiplb5fwq3mqma83434q38kx959qjw9mbr"; + sha256 = "04qf07cb04xdjnq0qxj6y8iqwyszk1vyark9gn5v6wxcvqvzwgfv"; }; buildInputs = [ flex bison readline ]; @@ -16,13 +17,13 @@ stdenv.mkDerivation rec { configureFlags = [ "--localstatedir /var" - ]; + ] ++ stdenv.lib.optional enableIPv6 "--enable-ipv6"; meta = { description = "BIRD Internet Routing Daemon"; homepage = http://bird.network.cz; license = stdenv.lib.licenses.gpl2Plus; - maintainers = with stdenv.lib.maintainers; [viric]; + maintainers = with stdenv.lib.maintainers; [ viric fpletz ]; platforms = stdenv.lib.platforms.linux; }; } diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index b5fa553c2f9c..dc47a12f10ad 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -9876,6 +9876,7 @@ in bind = callPackage ../servers/dns/bind { }; bird = callPackage ../servers/bird { }; + bird6 = bird.override { enableIPv6 = true; }; bosun = (callPackage ../servers/monitoring/bosun { }).bin // { outputs = [ "bin" ]; }; scollector = bosun;