3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/development/libraries/ubus/default.nix

25 lines
713 B
Nix
Raw Normal View History

{ lib, stdenv, cmake, fetchgit, libubox, libjson }:
2020-02-12 01:01:17 +00:00
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; {
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";
license = licenses.lgpl21;
platforms = platforms.all;
maintainers = with maintainers; [ petabyteboy ];
};
}