nixpkgs/pkgs/by-name/bl/bluetuith/package.nix
nicoo 2641d97cbf pkgs/by-name: Convert hashes to SRI format
Reproduction script:
	# Bulk rewrite
	./maintainers/scripts/sha-to-sri.py pkgs/by-name
	# Revert some packages which will need manual intervention
	for n in amdvlk azure-cli cargo-profiler corefonts flatito fluxcd gist perf_data_converter protoc-gen-js solana-cli swt verible; do
		git checkout -- "pkgs/by-name/${n:0:2}/${n}"
	done
2024-09-15 11:24:31 +02:00

47 lines
1.3 KiB
Nix

{ lib
, buildGoModule
, fetchFromGitHub
, nix-update-script
}:
buildGoModule rec {
pname = "bluetuith";
version = "0.2.3";
src = fetchFromGitHub {
owner = "darkhz";
repo = pname;
rev = "v${version}";
hash = "sha256-yXH/koNT4ec/SOZhSU01iPNAfD1MdMjM2+wNmjXWsrk=";
};
vendorHash = "sha256-tEVzuhE0Di7edGa5eJHLLqOecCuoj02h91TsZiZU1PM=";
CGO_ENABLED = 0;
ldflags = [
"-s"
"-w"
"-X github.com/darkhz/bluetuith/cmd.Version=${version}@nixpkgs"
];
passthru.updateScript = nix-update-script { };
meta = with lib; {
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${version}";
license = licenses.mit;
platforms = platforms.linux;
mainProgram = "bluetuith";
maintainers = with maintainers; [ pyrox0 katexochen ];
};
}