summary refs log tree commit diff
path: root/pkgs/tools/networking/oslrd/default.nix
blob: 44f32e93474c6348ec8b20ec809c8c0865065294 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
{ stdenv, fetchurl, bison, flex }:

stdenv.mkDerivation rec {
  name = "olsrd-0.6.6.1";

  src = fetchurl {
    url = "http://www.olsr.org/releases/0.6/${name}.tar.bz2";
    sha256 = "1fphbh9x724r83gxxrd13zv487s4svnr9jdy76h4f36xxb15pnp8";
  };

  buildInputs = [ bison flex ];

  preConfigure = ''
    makeFlags="prefix=$out ETCDIR=$out/etc"
  '';

  meta = {
    description = "An adhoc wireless mesh routing daemon";
    license = "BSD";
    homepage = "http://olsr.org/";
    maintainers = with stdenv.lib.maintainers; [viric];
    platforms = with stdenv.lib.platforms; linux;
  };
}