2021-01-21 17:00:13 +00:00
|
|
|
{ lib, stdenv, cmake, fetchgit, pkg-config, libubox }:
|
2020-02-12 01:02:19 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation {
|
|
|
|
pname = "uci";
|
2021-06-10 07:32:50 +00:00
|
|
|
version = "unstable-2021-04-14";
|
2020-02-12 01:02:19 +00:00
|
|
|
|
|
|
|
src = fetchgit {
|
|
|
|
url = "https://git.openwrt.org/project/uci.git";
|
2021-06-10 07:32:50 +00:00
|
|
|
rev = "4b3db1179747b6a6779029407984bacef851325c";
|
|
|
|
sha256 = "1zflxazazzkrycpflzfg420kzp7kgy4dlz85cms279vk07dc1d52";
|
2020-02-12 01:02:19 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
hardeningDisable = [ "all" ];
|
2021-06-10 07:32:50 +00:00
|
|
|
cmakeFlags = [ "-DBUILD_LUA=OFF" ];
|
2020-02-12 01:02:19 +00:00
|
|
|
buildInputs = [ libubox ];
|
2021-01-19 06:50:56 +00:00
|
|
|
nativeBuildInputs = [ cmake pkg-config ];
|
2020-02-12 01:02:19 +00:00
|
|
|
|
2021-01-21 17:00:13 +00:00
|
|
|
meta = with lib; {
|
2020-02-12 01:02:19 +00:00
|
|
|
description = "OpenWrt Unified Configuration Interface";
|
|
|
|
homepage = "https://git.openwrt.org/?p=project/uci.git;a=summary";
|
2021-06-10 07:32:50 +00:00
|
|
|
license = licenses.lgpl21Only;
|
2020-02-12 01:02:19 +00:00
|
|
|
platforms = platforms.all;
|
2022-06-22 22:51:46 +00:00
|
|
|
maintainers = with maintainers; [ ];
|
2020-02-12 01:02:19 +00:00
|
|
|
};
|
|
|
|
}
|