2021-02-05 17:12:51 +00:00
|
|
|
{ lib, stdenv, cmake, fetchgit, pkg-config, libubox }:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation {
|
|
|
|
pname = "uci";
|
2023-10-09 19:29:22 +00:00
|
|
|
version = "unstable-2023-08-10";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchgit {
|
|
|
|
url = "https://git.openwrt.org/project/uci.git";
|
2023-10-09 19:29:22 +00:00
|
|
|
rev = "5781664d5087ccc4b5ab58505883231212dbedbc";
|
|
|
|
hash = "sha256-8MyFaZdAMh5oMPO/5QyNT+Or57eBL3mamJLblGGoF9g=";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
hardeningDisable = [ "all" ];
|
2021-06-28 23:13:55 +00:00
|
|
|
cmakeFlags = [ "-DBUILD_LUA=OFF" ];
|
2020-04-24 23:36:52 +00:00
|
|
|
buildInputs = [ libubox ];
|
2021-02-05 17:12:51 +00:00
|
|
|
nativeBuildInputs = [ cmake pkg-config ];
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2021-02-05 17:12:51 +00:00
|
|
|
meta = with lib; {
|
2020-04-24 23:36:52 +00:00
|
|
|
description = "OpenWrt Unified Configuration Interface";
|
2024-04-21 15:54:59 +00:00
|
|
|
mainProgram = "uci";
|
2020-04-24 23:36:52 +00:00
|
|
|
homepage = "https://git.openwrt.org/?p=project/uci.git;a=summary";
|
2021-06-28 23:13:55 +00:00
|
|
|
license = licenses.lgpl21Only;
|
2020-04-24 23:36:52 +00:00
|
|
|
platforms = platforms.all;
|
2024-01-02 11:29:13 +00:00
|
|
|
maintainers = with maintainers; [ mkg20001 ];
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
}
|