mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-18 07:46:09 +01:00
9d07c54fa1
patch bird to look in /var/run for birc.ctl
28 lines
652 B
Nix
28 lines
652 B
Nix
{ stdenv, fetchurl, flex, bison, readline }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
name = "bird-1.4.5";
|
|
|
|
src = fetchurl {
|
|
url = "ftp://bird.network.cz/pub/bird/${name}.tar.gz";
|
|
sha256 = "1z4z7zmx3054zxi4q6a7095s267mw8ky628gir2n5xy5ch65yj7z";
|
|
};
|
|
|
|
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];
|
|
platforms = stdenv.lib.platforms.linux;
|
|
};
|
|
}
|