depot/third_party/nixpkgs/pkgs/development/libraries/ubus/default.nix
Default email 5e7c2d6cef Project import generated by Copybara.
GitOrigin-RevId: f99e5f03cc0aa231ab5950a15ed02afec45ed51a
2023-10-09 21:29:22 +02:00

24 lines
696 B
Nix

{ lib, stdenv, cmake, fetchgit, libubox, libjson }:
stdenv.mkDerivation {
pname = "ubus";
version = "unstable-2023-06-05";
src = fetchgit {
url = "https://git.openwrt.org/project/ubus.git";
rev = "f787c97b34894a38b15599886cacbca01271684f";
hash = "sha256-PGPFtNaRXS6ryC+MA/w2CtPQfJa+vG5OXf/NPFMoIzQ=";
};
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; [ ];
};
}