Files
nixpkgs/pkgs/by-name/bl/bluetuith/package.nix
Dark Steveneq 646b892680
Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
push sheeet
2025-10-09 14:15:47 +02:00

51 lines
1.4 KiB
Nix

{
lib,
# Module requires Go 1.25, drop pin once buildGoModule uses Go >= 1.25.
buildGo125Module,
fetchFromGitHub,
nix-update-script,
}:
buildGo125Module (finalAttrs: {
pname = "bluetuith";
version = "0.2.5";
src = fetchFromGitHub {
owner = "darkhz";
repo = "bluetuith";
tag = "v${finalAttrs.version}";
hash = "sha256-h7SMGI8wIiu4i2kcKRsmLHM4tu7ZZK0usBXh5zFu94E=";
};
vendorHash = null;
env.CGO_ENABLED = 0;
ldflags = [
"-s"
"-X github.com/darkhz/bluetuith/cmd.Version=${finalAttrs.version}@nixpkgs"
];
passthru.updateScript = nix-update-script { };
meta = {
description = "TUI-based bluetooth connection manager";
longDescription = ''
Bluetuith can transfer files via OBEX, perform authenticated pairing,
and (dis)connect different bluetooth devices. It interacts with bluetooth
adapters and can toogle their power and discovery state. Bluetuith can also
manage Bluetooth-based networking/tethering (PANU/DUN) and remote control
devices. The TUI has mouse support.
'';
homepage = "https://github.com/darkhz/bluetuith";
changelog = "https://github.com/darkhz/bluetuith/releases/tag/v${finalAttrs.version}";
license = lib.licenses.mit;
platforms = lib.platforms.linux;
mainProgram = "bluetuith";
maintainers = with lib.maintainers; [
pyrox0
katexochen
];
};
})