lol
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

at 22.05-pre 36 lines 1.0 kB view raw
1{ lib, stdenv, fetchFromGitHub, fetchpatch, bison, flex }: 2 3stdenv.mkDerivation rec { 4 pname = "olsrd"; 5 version = "0.9.8"; 6 7 src = fetchFromGitHub { 8 owner = "OLSR"; 9 repo = pname; 10 rev = "v${version}"; 11 sha256 = "1xk355dm5pfjil1j4m724vkdnc178lv6hi6s1g0xgpd59avbx90j"; 12 }; 13 14 patches = [ 15 # remove if there's ever an upstream release that incorporates 16 # https://github.com/OLSR/olsrd/pull/87 17 (fetchpatch { 18 url = "https://raw.githubusercontent.com/openwrt-routing/packages/b3897386771890ba1b15f672c2fed58630beedef/olsrd/patches/011-bison.patch"; 19 sha256 = "04cl4b8dpr1yjs7wa94jcszmkdzpnrn719a5m9nhm7lvfrn1rzd0"; 20 }) 21 ]; 22 23 buildInputs = [ bison flex ]; 24 25 preConfigure = '' 26 makeFlags="prefix=$out ETCDIR=$out/etc" 27 ''; 28 29 meta = { 30 description = "An adhoc wireless mesh routing daemon"; 31 license = lib.licenses.bsd3; 32 homepage = "http://olsr.org/"; 33 maintainers = with lib.maintainers; [viric]; 34 platforms = with lib.platforms; linux; 35 }; 36}