2013-05-28 20:37:59 +00:00
|
|
|
{ stdenv, fetchurl, bison, flex }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2019-08-15 12:41:18 +00:00
|
|
|
pname = "olsrd";
|
2017-03-02 00:18:37 +00:00
|
|
|
version = "0.9.6.1";
|
2013-05-28 20:37:59 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
2019-08-15 12:41:18 +00:00
|
|
|
url = "http://www.olsr.org/releases/0.9/${pname}-${version}.tar.bz2";
|
2017-03-02 00:18:37 +00:00
|
|
|
sha256 = "9cac290e9bff5fc7422110b9ccd972853f10962c962d2f31a63de9c6d1520612";
|
2013-05-28 20:37:59 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [ bison flex ];
|
|
|
|
|
|
|
|
preConfigure = ''
|
|
|
|
makeFlags="prefix=$out ETCDIR=$out/etc"
|
|
|
|
'';
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "An adhoc wireless mesh routing daemon";
|
2014-12-20 23:00:35 +00:00
|
|
|
license = stdenv.lib.licenses.bsd3;
|
|
|
|
homepage = http://olsr.org/;
|
2013-05-28 20:37:59 +00:00
|
|
|
maintainers = with stdenv.lib.maintainers; [viric];
|
|
|
|
platforms = with stdenv.lib.platforms; linux;
|
|
|
|
};
|
|
|
|
}
|