2013-05-28 21:37:59 +01:00
|
|
|
{ stdenv, fetchurl, bison, flex }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2013-12-20 15:51:24 +00:00
|
|
|
name = "olsrd-0.6.6.1";
|
2013-05-28 21:37:59 +01:00
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "http://www.olsr.org/releases/0.6/${name}.tar.bz2";
|
2013-12-20 15:51:24 +00:00
|
|
|
sha256 = "1fphbh9x724r83gxxrd13zv487s4svnr9jdy76h4f36xxb15pnp8";
|
2013-05-28 21:37:59 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
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;
|
|
|
|
};
|
|
|
|
}
|