Merge pull request #277797 from katexochen/buletuith/0-2
bluetuith: 0.1.9 -> 0.2.0
This commit is contained in:
commit
72533ffb07
46
pkgs/by-name/bl/bluetuith/package.nix
Normal file
46
pkgs/by-name/bl/bluetuith/package.nix
Normal file
@ -0,0 +1,46 @@
|
||||
{ lib
|
||||
, buildGoModule
|
||||
, fetchFromGitHub
|
||||
, nix-update-script
|
||||
}:
|
||||
|
||||
buildGoModule rec {
|
||||
pname = "bluetuith";
|
||||
version = "0.2.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "darkhz";
|
||||
repo = pname;
|
||||
rev = "v${version}";
|
||||
sha256 = "sha256-5Jn5qkCUj2ohpZU+XqR90Su2svcLqW+hW6kmeEVfrtI=";
|
||||
};
|
||||
|
||||
vendorHash = "sha256-pYVEFKLPfstWWO6ypgv7ntAaE1Wmq2XKuZC2ccMa8Vc=";
|
||||
|
||||
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; [ thehedgeh0g katexochen ];
|
||||
};
|
||||
}
|
@ -1,26 +0,0 @@
|
||||
{ lib, buildGoModule, fetchFromGitHub }:
|
||||
|
||||
buildGoModule rec {
|
||||
pname = "bluetuith";
|
||||
version = "0.1.9";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "darkhz";
|
||||
repo = pname;
|
||||
rev = "v${version}";
|
||||
sha256 = "sha256-vdHnG0uQdy5PboIovtxl5i9xwFpjYLCZf2IGeiMcWe8=";
|
||||
};
|
||||
|
||||
vendorHash = "sha256-pYVEFKLPfstWWO6ypgv7ntAaE1Wmq2XKuZC2ccMa8Vc=";
|
||||
|
||||
ldflags = [ "-s" "-w" ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "TUI-based bluetooth connection manager";
|
||||
homepage = "https://github.com/darkhz/bluetuith";
|
||||
license = licenses.mit;
|
||||
platforms = platforms.linux;
|
||||
mainProgram = "bluetuith";
|
||||
maintainers = with maintainers; [ thehedgeh0g ];
|
||||
};
|
||||
}
|
@ -6700,8 +6700,6 @@ with pkgs;
|
||||
|
||||
blueman = callPackage ../tools/bluetooth/blueman { };
|
||||
|
||||
bluetuith = callPackage ../tools/bluetooth/bluetuith { };
|
||||
|
||||
bmrsa = callPackage ../tools/security/bmrsa/11.nix { };
|
||||
|
||||
bogofilter = callPackage ../tools/misc/bogofilter { };
|
||||
|
Loading…
Reference in New Issue
Block a user