nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
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-2025-09-28";
16
17 src = fetchgit {
18 url = "https://git.openwrt.org/project/udebug.git";
19 rev = "5327524e715332daaebf6b04c155d2880d230979";
20 hash = "sha256-Zcbbo7Jo7JxNSjUlbB2m2Id8crdxzKc/QFeduPGvows=";
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 = {
36 description = "OpenWrt debugging helper library/service";
37 mainProgram = "udebugd";
38 homepage = "https://git.openwrt.org/?p=project/udebug.git;a=summary";
39 license = lib.licenses.free;
40 platforms = lib.platforms.unix;
41 maintainers = with lib.maintainers; [ mkg20001 ];
42 };
43}