depot/third_party/nixpkgs/pkgs/development/libraries/ubus/default.nix
Default email 504525a148 Project import generated by Copybara.
GitOrigin-RevId: bd645e8668ec6612439a9ee7e71f7eac4099d4f6
2024-01-02 12:29:13 +01:00

24 lines
705 B
Nix

{ lib, stdenv, cmake, fetchgit, libubox, libjson }:
stdenv.mkDerivation {
pname = "ubus";
version = "unstable-2023-11-14";
src = fetchgit {
url = "https://git.openwrt.org/project/ubus.git";
rev = "b3e8c4ef07ebb6f0f34a5c1f0dc1539068363619";
hash = "sha256-H/QrLMhdEC1LnSxHpp/90OdKbfHRqLVWUnzyQlsVO8c=";
};
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; [ mkg20001 ];
};
}