lol
1{ stdenv, fetchurl, bison, flex }:
2
3stdenv.mkDerivation rec {
4 name = "olsrd-${version}";
5 version = "0.9.6.1";
6
7 src = fetchurl {
8 url = "http://www.olsr.org/releases/0.9/${name}.tar.bz2";
9 sha256 = "9cac290e9bff5fc7422110b9ccd972853f10962c962d2f31a63de9c6d1520612";
10 };
11
12 buildInputs = [ bison flex ];
13
14 preConfigure = ''
15 makeFlags="prefix=$out ETCDIR=$out/etc"
16 '';
17
18 meta = {
19 description = "An adhoc wireless mesh routing daemon";
20 license = stdenv.lib.licenses.bsd3;
21 homepage = http://olsr.org/;
22 maintainers = with stdenv.lib.maintainers; [viric];
23 platforms = with stdenv.lib.platforms; linux;
24 };
25}