Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ lib, stdenv, cmake, fetchgit, pkg-config, libubox }: 2 3stdenv.mkDerivation { 4 pname = "uci"; 5 version = "unstable-2021-04-14"; 6 7 src = fetchgit { 8 url = "https://git.openwrt.org/project/uci.git"; 9 rev = "4b3db1179747b6a6779029407984bacef851325c"; 10 sha256 = "1zflxazazzkrycpflzfg420kzp7kgy4dlz85cms279vk07dc1d52"; 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 homepage = "https://git.openwrt.org/?p=project/uci.git;a=summary"; 21 license = licenses.lgpl21Only; 22 platforms = platforms.all; 23 maintainers = with maintainers; [ ]; 24 }; 25}