2021-01-21 17:00:13 +00:00
|
|
|
{ lib, stdenv, cmake, fetchgit, libubox, libjson }:
|
2020-02-12 01:01:17 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation {
|
|
|
|
pname = "ubus";
|
2021-06-10 08:32:50 +01:00
|
|
|
version = "unstable-2021-02-15";
|
2020-02-12 01:01:17 +00:00
|
|
|
|
|
|
|
src = fetchgit {
|
|
|
|
url = "https://git.openwrt.org/project/ubus.git";
|
2021-06-10 08:32:50 +01:00
|
|
|
rev = "2537be01858710e714c329153760c64fe3f8a73e";
|
|
|
|
sha256 = "03ljxsn4w87bfrilccxhrkzqmd30hy6ihkvsinw0i3l7rpp5m4a7";
|
2020-02-12 01:01:17 +00:00
|
|
|
};
|
|
|
|
|
2021-06-10 08:32:50 +01:00
|
|
|
cmakeFlags = [ "-DBUILD_LUA=OFF" ];
|
2020-02-12 01:01:17 +00:00
|
|
|
buildInputs = [ libubox libjson ];
|
|
|
|
nativeBuildInputs = [ cmake ];
|
|
|
|
|
2021-01-21 17:00:13 +00:00
|
|
|
meta = with lib; {
|
2020-02-12 01:01:17 +00:00
|
|
|
description = "OpenWrt system message/RPC bus";
|
|
|
|
homepage = "https://git.openwrt.org/?p=project/ubus.git;a=summary";
|
2021-06-10 08:32:50 +01:00
|
|
|
license = licenses.lgpl21Only;
|
2020-02-12 01:01:17 +00:00
|
|
|
platforms = platforms.all;
|
2022-06-22 23:51:46 +01:00
|
|
|
maintainers = with maintainers; [ ];
|
2020-02-12 01:01:17 +00:00
|
|
|
};
|
|
|
|
}
|