1 { stdenv, lib, fetchgit, cmake, pkg-config, json_c }:
5 version = "unstable-2021-03-09";
8 url = "https://git.openwrt.org/project/libubox.git";
9 rev = "551d75b5662cccd0466b990d58136bdf799a804d";
10 sha256 = "05cnjjqjv9nvrs1d8pg4xxxf27jryiv6xk8plmdpmm7r2wkvwn3r";
13 cmakeFlags = [ "-DBUILD_LUA=OFF" "-DBUILD_EXAMPLES=OFF" ];
15 nativeBuildInputs = [ cmake pkg-config ];
16 buildInputs = [ json_c ];
19 description = "C utility functions for OpenWrt";
20 homepage = "https://git.openwrt.org/?p=project/libubox.git;a=summary";
21 license = licenses.isc;
22 maintainers = with maintainers; [ fpletz ];
24 platforms = platforms.all;