1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-25 03:17:13 +00:00
nixpkgs/pkgs/tools/networking/olsrd/default.nix

25 lines
605 B
Nix

{ 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 = stdenv.lib.licenses.bsd3;
homepage = http://olsr.org/;
maintainers = with stdenv.lib.maintainers; [viric];
platforms = with stdenv.lib.platforms; linux;
};
}