blob: db947d373a2dd5a9184d47f4b259d65cd7cca944 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
{ lib, stdenv, cmake, fetchgit, libubox, libjson }:
stdenv.mkDerivation {
pname = "ubus";
version = "unstable-2020-01-05";
src = fetchgit {
url = "https://git.openwrt.org/project/ubus.git";
rev = "d35df8adda873dc75d876f72b78e84db8cfa72ee";
sha256 = "1ksrih5vfyixaafzsrs6ab88qw34d0197wvw201jl5p1fc7drgn4";
};
cmakeFlags = [ "-D BUILD_LUA:BOOL=OFF" ];
buildInputs = [ libubox libjson ];
nativeBuildInputs = [ cmake ];
meta = with lib; {
description = "OpenWrt system message/RPC bus";
homepage = "https://git.openwrt.org/?p=project/ubus.git;a=summary";
license = licenses.lgpl21;
platforms = platforms.all;
maintainers = with maintainers; [ petabyteboy ];
};
}
|