nixpkgs/pkgs/servers/bird/default.nix

29 lines
652 B
Nix
Raw Normal View History

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