Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ 2 lib, 3 stdenv, 4 cmake, 5 fetchgit, 6 pkg-config, 7 ubus, 8 libubox, 9 ucode, 10 json_c, 11}: 12 13stdenv.mkDerivation { 14 pname = "udebug"; 15 version = "unstable-2023-12-06"; 16 17 src = fetchgit { 18 url = "https://git.openwrt.org/project/udebug.git"; 19 rev = "6d3f51f9fda706f0cf4732c762e4dbe8c21e12cf"; 20 hash = "sha256-5dowoFZn9I2IXMQ3Pz+2Eo3rKfihLzjca84MytQIXcU="; 21 }; 22 23 buildInputs = [ 24 ubus 25 libubox 26 ucode 27 json_c 28 ]; 29 30 nativeBuildInputs = [ 31 cmake 32 pkg-config 33 ]; 34 35 meta = with lib; { 36 description = "OpenWrt debugging helper library/service"; 37 mainProgram = "udebugd"; 38 homepage = "https://git.openwrt.org/?p=project/udebug.git;a=summary"; 39 license = licenses.free; 40 platforms = platforms.linux; 41 maintainers = with maintainers; [ mkg20001 ]; 42 }; 43}