1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-19 20:21:14 +00:00
nixpkgs/pkgs/servers/bird/default.nix
lassulus 9d07c54fa1 nixos: add bird module
patch bird to look in /var/run for birc.ctl
2015-05-19 15:42:24 +02:00

29 lines
652 B
Nix

{ stdenv, fetchurl, flex, bison, readline }:
stdenv.mkDerivation rec {
name = "bird-1.4.5";
src = fetchurl {
url = "ftp://bird.network.cz/pub/bird/${name}.tar.gz";
sha256 = "1z4z7zmx3054zxi4q6a7095s267mw8ky628gir2n5xy5ch65yj7z";
};
buildInputs = [ flex bison readline ];
patches = [
./dont-create-sysconfdir.patch
];
configureFlags = [
"--localstatedir /var"
];
meta = {
description = "BIRD Internet Routing Daemon";
homepage = http://bird.network.cz;
license = stdenv.lib.licenses.gpl2Plus;
maintainers = with stdenv.lib.maintainers; [viric];
platforms = stdenv.lib.platforms.linux;
};
}