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";
|
2020-07-18 16:06:22 +00:00
|
|
|
version = "unstable-2020-04-27";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchgit {
|
|
|
|
url = "https://git.openwrt.org/project/uci.git";
|
2020-07-18 16:06:22 +00:00
|
|
|
rev = "ec8d3233948603485e1b97384113fac9f1bab5d6";
|
|
|
|
sha256 = "0p765l8znvwhzhgkq7dp36w62k5rmzav59vgdqmqq1bjmlz1yyi6";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
hardeningDisable = [ "all" ];
|
|
|
|
cmakeFlags = [ "-D BUILD_LUA:BOOL=OFF" ];
|
|
|
|
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";
|
|
|
|
homepage = "https://git.openwrt.org/?p=project/uci.git;a=summary";
|
|
|
|
license = licenses.lgpl21;
|
|
|
|
platforms = platforms.all;
|
|
|
|
maintainers = with maintainers; [ petabyteboy ];
|
|
|
|
};
|
|
|
|
}
|