about summary refs log tree commit diff
path: root/nixpkgs/pkgs/tools/networking/olsrd/default.nix
blob: 8fa30a5c2211a56ad7188badc70143acfbd588c3 (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
25
{ stdenv, fetchurl, bison, flex }:

stdenv.mkDerivation rec {
  name = "olsrd-${version}";
  version = "0.9.6.1";

  src = fetchurl {
    url = "http://www.olsr.org/releases/0.9/${name}.tar.bz2";
    sha256 = "9cac290e9bff5fc7422110b9ccd972853f10962c962d2f31a63de9c6d1520612";
  };

  buildInputs = [ bison flex ];

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

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