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