libubox: unstable-2021-03-09 -> unstable-2023-01-03
This commit is contained in:
@@ -1,19 +1,19 @@
|
|||||||
{ stdenv, lib, fetchgit, cmake, pkg-config, json_c }:
|
{ stdenv, lib, fetchgit, cmake, pkg-config, json_c, with_lua ? false, lua5_1 }:
|
||||||
|
|
||||||
stdenv.mkDerivation {
|
stdenv.mkDerivation {
|
||||||
pname = "libubox";
|
pname = "libubox";
|
||||||
version = "unstable-2021-03-09";
|
version = "unstable-2023-01-03";
|
||||||
|
|
||||||
src = fetchgit {
|
src = fetchgit {
|
||||||
url = "https://git.openwrt.org/project/libubox.git";
|
url = "https://git.openwrt.org/project/libubox.git";
|
||||||
rev = "551d75b5662cccd0466b990d58136bdf799a804d";
|
rev = "eac92a4d5d82eb31e712157e7eb425af728b2c43";
|
||||||
sha256 = "05cnjjqjv9nvrs1d8pg4xxxf27jryiv6xk8plmdpmm7r2wkvwn3r";
|
sha256 = "0w6mmwmd3ljhkqfk0qswq28dp63k30s3brlgf8lyi7vj7mrhvn3c";
|
||||||
};
|
};
|
||||||
|
|
||||||
cmakeFlags = [ "-DBUILD_LUA=OFF" "-DBUILD_EXAMPLES=OFF" ];
|
cmakeFlags = [ "-DBUILD_EXAMPLES=OFF" (if with_lua then "-DLUAPATH=${placeholder "out"}/lib/lua" else "-DBUILD_LUA=OFF") ];
|
||||||
|
|
||||||
nativeBuildInputs = [ cmake pkg-config ];
|
nativeBuildInputs = [ cmake pkg-config ];
|
||||||
buildInputs = [ json_c ];
|
buildInputs = [ json_c ] ++ lib.optional with_lua lua5_1;
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "C utility functions for OpenWrt";
|
description = "C utility functions for OpenWrt";
|
||||||
|
|||||||
Reference in New Issue
Block a user