12 version = "unstable-2023-12-18";
15 url = "https://git.openwrt.org/project/ubus.git";
16 rev = "65bb027054def3b94a977229fd6ad62ddd32345b";
17 hash = "sha256-n82Ub0IiuvWbnlDCoN+0hjo/1PbplEbc56kuOYMrHxQ=";
20 cmakeFlags = [ "-DBUILD_LUA=OFF" ];
25 nativeBuildInputs = [ cmake ];
27 env.NIX_CFLAGS_COMPILE = toString (
28 lib.optionals (stdenv.hostPlatform.isDarwin && stdenv.hostPlatform.isx86_64) [
29 "-Wno-error=gnu-folding-constant"
34 description = "OpenWrt system message/RPC bus";
35 homepage = "https://git.openwrt.org/?p=project/ubus.git;a=summary";
36 license = licenses.lgpl21Only;
37 platforms = platforms.all;
38 maintainers = with maintainers; [ mkg20001 ];