about summary refs log tree commit diff
path: root/nixpkgs/pkgs/by-name/ud/udebug/package.nix
blob: 12de722bf68d6aa7b4baae3525f501f2af28563d (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
{ lib
, stdenv
, cmake
, fetchgit
, pkg-config
, ubus
, libubox
, ucode
, json_c
}:

stdenv.mkDerivation {
  pname = "udebug";
  version = "unstable-2023-11-28";

  src = fetchgit {
    url = "https://git.openwrt.org/project/udebug.git";
    rev = "d49aadabb7a147b99a3e6299a77d7fda4e266091";
    hash = "sha256-5I50q+oUQ5f82ngKl7bX50J+3pBviNk3iVEChNjt5wY=";
  };

  buildInputs = [
    ubus
    libubox
    ucode
    json_c
  ];

  nativeBuildInputs = [
    cmake
    pkg-config
  ];

  meta = with lib; {
    description = "OpenWrt debugging helper library/service";
    homepage = "https://git.openwrt.org/?p=project/udebug.git;a=summary";
    license = licenses.free;
    platforms = platforms.linux;
    maintainers = with maintainers; [ mkg20001 ];
  };
}