mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-10-04 05:50:00 +00:00
This commit was created by a combination of scripts and tools: - an ast-grep script to prefix things in meta with `lib.`, - a modified nixf-diagnose / nixf combination to remove unused `with lib;`, and - regular nixfmt. Co-authored-by: Wolfgang Walther <walther@technowledgy.de>
44 lines
802 B
Nix
44 lines
802 B
Nix
{
|
|
lib,
|
|
stdenv,
|
|
cmake,
|
|
fetchgit,
|
|
pkg-config,
|
|
ubus,
|
|
libubox,
|
|
ucode,
|
|
json_c,
|
|
}:
|
|
|
|
stdenv.mkDerivation {
|
|
pname = "udebug";
|
|
version = "unstable-2025-09-28";
|
|
|
|
src = fetchgit {
|
|
url = "https://git.openwrt.org/project/udebug.git";
|
|
rev = "5327524e715332daaebf6b04c155d2880d230979";
|
|
hash = "sha256-Zcbbo7Jo7JxNSjUlbB2m2Id8crdxzKc/QFeduPGvows=";
|
|
};
|
|
|
|
buildInputs = [
|
|
ubus
|
|
libubox
|
|
ucode
|
|
json_c
|
|
];
|
|
|
|
nativeBuildInputs = [
|
|
cmake
|
|
pkg-config
|
|
];
|
|
|
|
meta = {
|
|
description = "OpenWrt debugging helper library/service";
|
|
mainProgram = "udebugd";
|
|
homepage = "https://git.openwrt.org/?p=project/udebug.git;a=summary";
|
|
license = lib.licenses.free;
|
|
platforms = lib.platforms.unix;
|
|
maintainers = with lib.maintainers; [ mkg20001 ];
|
|
};
|
|
}
|