mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-02 03:43:06 +00:00
ff1a94e523
The nixpkgs-unstable channel's programs.sqlite was used to identify packages producing exactly one binary, and these automatically added to their package definitions wherever possible.
43 lines
790 B
Nix
43 lines
790 B
Nix
{ lib
|
|
, stdenv
|
|
, cmake
|
|
, fetchgit
|
|
, pkg-config
|
|
, ubus
|
|
, libubox
|
|
, ucode
|
|
, json_c
|
|
}:
|
|
|
|
stdenv.mkDerivation {
|
|
pname = "udebug";
|
|
version = "unstable-2023-12-06";
|
|
|
|
src = fetchgit {
|
|
url = "https://git.openwrt.org/project/udebug.git";
|
|
rev = "6d3f51f9fda706f0cf4732c762e4dbe8c21e12cf";
|
|
hash = "sha256-5dowoFZn9I2IXMQ3Pz+2Eo3rKfihLzjca84MytQIXcU=";
|
|
};
|
|
|
|
buildInputs = [
|
|
ubus
|
|
libubox
|
|
ucode
|
|
json_c
|
|
];
|
|
|
|
nativeBuildInputs = [
|
|
cmake
|
|
pkg-config
|
|
];
|
|
|
|
meta = with lib; {
|
|
description = "OpenWrt debugging helper library/service";
|
|
mainProgram = "udebugd";
|
|
homepage = "https://git.openwrt.org/?p=project/udebug.git;a=summary";
|
|
license = licenses.free;
|
|
platforms = platforms.linux;
|
|
maintainers = with maintainers; [ mkg20001 ];
|
|
};
|
|
}
|