2013-08-31 16:05:24 +01: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 16:05:24 +01: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 16:05:24 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [ flex bison readline ];
|
|
|
|
|
2015-05-16 22:22:35 +01:00
|
|
|
patches = [
|
|
|
|
./dont-create-sysconfdir.patch
|
|
|
|
];
|
|
|
|
|
|
|
|
configureFlags = [
|
|
|
|
"--localstatedir /var"
|
|
|
|
];
|
|
|
|
|
2013-08-31 16:05:24 +01:00
|
|
|
meta = {
|
2014-11-11 19:27:21 +00:00
|
|
|
description = "BIRD Internet Routing Daemon";
|
2013-08-31 16:05:24 +01:00
|
|
|
homepage = http://bird.network.cz;
|
2014-06-19 05:19:00 +01:00
|
|
|
license = stdenv.lib.licenses.gpl2Plus;
|
2013-08-31 16:05:24 +01:00
|
|
|
maintainers = with stdenv.lib.maintainers; [viric];
|
2014-11-11 19:27:21 +00:00
|
|
|
platforms = stdenv.lib.platforms.linux;
|
2013-08-31 16:05:24 +01:00
|
|
|
};
|
|
|
|
}
|