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