Files
nixpkgs/pkgs/by-name/ud/udebug/package.nix
Ihar Hrachyshka 567e8dfd8e treewide: clean up 'meta = with' pattern
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>
2025-12-10 18:09:49 +01:00

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 ];
};
}