Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at fix-function-merge 26 lines 774 B view raw
1{ lib, stdenv, cmake, fetchgit, pkg-config, libubox }: 2 3stdenv.mkDerivation { 4 pname = "uci"; 5 version = "unstable-2023-08-10"; 6 7 src = fetchgit { 8 url = "https://git.openwrt.org/project/uci.git"; 9 rev = "5781664d5087ccc4b5ab58505883231212dbedbc"; 10 hash = "sha256-8MyFaZdAMh5oMPO/5QyNT+Or57eBL3mamJLblGGoF9g="; 11 }; 12 13 hardeningDisable = [ "all" ]; 14 cmakeFlags = [ "-DBUILD_LUA=OFF" ]; 15 buildInputs = [ libubox ]; 16 nativeBuildInputs = [ cmake pkg-config ]; 17 18 meta = with lib; { 19 description = "OpenWrt Unified Configuration Interface"; 20 mainProgram = "uci"; 21 homepage = "https://git.openwrt.org/?p=project/uci.git;a=summary"; 22 license = licenses.lgpl21Only; 23 platforms = platforms.all; 24 maintainers = with maintainers; [ mkg20001 ]; 25 }; 26}