2013-08-31 15:05:24 +00:00
|
|
|
{ stdenv, fetchurl, flex, bison, readline }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2016-01-08 21:54:08 +00:00
|
|
|
name = "bird-1.5.0";
|
2013-08-31 15:05:24 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "ftp://bird.network.cz/pub/bird/${name}.tar.gz";
|
2016-01-08 21:54:08 +00:00
|
|
|
sha256 = "0pbvq6rx4ww46vcdslpiplb5fwq3mqma83434q38kx959qjw9mbr";
|
2013-08-31 15:05:24 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [ flex bison readline ];
|
|
|
|
|
2015-05-16 21:22:35 +00:00
|
|
|
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;
|
2014-06-19 04:19:00 +00:00
|
|
|
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
|
|
|
};
|
|
|
|
}
|