at 22.05-pre 24 lines 711 B view raw
1{ lib, stdenv, cmake, fetchgit, libubox, libjson }: 2 3stdenv.mkDerivation { 4 pname = "ubus"; 5 version = "unstable-2021-02-15"; 6 7 src = fetchgit { 8 url = "https://git.openwrt.org/project/ubus.git"; 9 rev = "2537be01858710e714c329153760c64fe3f8a73e"; 10 sha256 = "03ljxsn4w87bfrilccxhrkzqmd30hy6ihkvsinw0i3l7rpp5m4a7"; 11 }; 12 13 cmakeFlags = [ "-DBUILD_LUA=OFF" ]; 14 buildInputs = [ libubox libjson ]; 15 nativeBuildInputs = [ cmake ]; 16 17 meta = with lib; { 18 description = "OpenWrt system message/RPC bus"; 19 homepage = "https://git.openwrt.org/?p=project/ubus.git;a=summary"; 20 license = licenses.lgpl21Only; 21 platforms = platforms.all; 22 maintainers = with maintainers; [ petabyteboy ]; 23 }; 24}