nixpkgs/pkgs/servers/bird/default.nix
2016-06-19 20:45:55 +02:00

29 lines
661 B
Nix

{ stdenv, fetchurl, flex, bison, readline }:
stdenv.mkDerivation rec {
name = "bird-1.6.0";
src = fetchurl {
url = "ftp://bird.network.cz/pub/bird/${name}.tar.gz";
sha256 = "04qf07cb04xdjnq0qxj6y8iqwyszk1vyark9gn5v6wxcvqvzwgfv";
};
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 fpletz ];
platforms = stdenv.lib.platforms.linux;
};
}