mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-10-02 13:00:23 +00:00
Reference: 770316de0c/pkgs/README.md (versioning)
Tracking: https://github.com/NixOS/nixpkgs/issues/541820
37 lines
801 B
Nix
37 lines
801 B
Nix
{
|
|
lib,
|
|
stdenv,
|
|
cmake,
|
|
fetchgit,
|
|
pkg-config,
|
|
libubox,
|
|
}:
|
|
|
|
stdenv.mkDerivation {
|
|
pname = "uci";
|
|
version = "0-unstable-2025-10-12";
|
|
|
|
src = fetchgit {
|
|
url = "https://git.openwrt.org/project/uci.git";
|
|
rev = "57c1e8cd2c051d755ca861a9ab38a8049d2e3f95";
|
|
hash = "sha256-/Ian7WoBvm9nmniHdVTEIyRW1BPTmOe3O0v59aDaXc0=";
|
|
};
|
|
|
|
hardeningDisable = [ "all" ];
|
|
cmakeFlags = [ "-DBUILD_LUA=OFF" ];
|
|
buildInputs = [ libubox ];
|
|
nativeBuildInputs = [
|
|
cmake
|
|
pkg-config
|
|
];
|
|
|
|
meta = {
|
|
description = "OpenWrt Unified Configuration Interface";
|
|
mainProgram = "uci";
|
|
homepage = "https://git.openwrt.org/?p=project/uci.git;a=summary";
|
|
license = lib.licenses.lgpl21Only;
|
|
platforms = lib.platforms.all;
|
|
maintainers = with lib.maintainers; [ mkg20001 ];
|
|
};
|
|
}
|