3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/development/libraries/ubus/default.nix
Milan 5f16549ccf
libubox, ubus, uci, netifd: update (#121543)
These packages originating from OpenWRT don't see regular releases, so
this bumps them to their latest commits.

Also implements some suggestions like removing spaces from cmakeFlags
and replacing the legacy lgpl21 license with the appropriate lgpl21Only.
2021-06-10 09:32:50 +02:00

25 lines
711 B
Nix

{ lib, stdenv, cmake, fetchgit, libubox, libjson }:
stdenv.mkDerivation {
pname = "ubus";
version = "unstable-2021-02-15";
src = fetchgit {
url = "https://git.openwrt.org/project/ubus.git";
rev = "2537be01858710e714c329153760c64fe3f8a73e";
sha256 = "03ljxsn4w87bfrilccxhrkzqmd30hy6ihkvsinw0i3l7rpp5m4a7";
};
cmakeFlags = [ "-DBUILD_LUA=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.lgpl21Only;
platforms = platforms.all;
maintainers = with maintainers; [ petabyteboy ];
};
}