nixpkgs/pkgs/servers/bird/default.nix
Moritz 'e1mo' Fromm e4497988b4
bird: 2.0.12 -> 2.13
Change in versioning scheme from `<epoch>.<major>.<minor>` to
`<major>.<minor>.<patch>`. Also

- Babel: IPv4 via IPv6 extension (RFC 9229)
- Babel: Improve authentication on lossy networks
- BGP: New 'allow bgp_med' option
- BSD: Support for IPv4 routes with IPv6 nexthop on FreeBSD
- Experimental BMP protocol implementation
- Important bugfixes

Source and release notes:
<https://bird.network.cz/pipermail/bird-users/2023-April/016863.html>
2023-04-23 17:44:48 +02:00

37 lines
902 B
Nix

{ lib, stdenv, fetchurl, flex, bison, readline, libssh, nixosTests }:
stdenv.mkDerivation rec {
pname = "bird";
version = "2.13";
src = fetchurl {
url = "ftp://bird.network.cz/pub/bird/${pname}-${version}.tar.gz";
hash = "sha256-jYlePjEYgOnvuIi0OGy+wvfhi/uDNOjUyMp8Q0EJJjg=";
};
nativeBuildInputs = [ flex bison ];
buildInputs = [ readline libssh ];
patches = [
./dont-create-sysconfdir-2.patch
];
CPP="${stdenv.cc.targetPrefix}cpp -E";
configureFlags = [
"--localstatedir=/var"
"--runstatedir=/run/bird"
];
passthru.tests = nixosTests.bird;
meta = with lib; {
changelog = "https://gitlab.nic.cz/labs/bird/-/blob/v${version}/NEWS";
description = "BIRD Internet Routing Daemon";
homepage = "http://bird.network.cz";
license = licenses.gpl2Plus;
maintainers = with maintainers; [ globin ];
platforms = platforms.linux;
};
}