From 84e684b7ece0e5f2a94367d1bce581d779c5ac9b Mon Sep 17 00:00:00 2001 From: Mr Hedgehog Date: Wed, 13 Jul 2022 11:16:23 -0400 Subject: [PATCH] bluetuith: init at 0.0.3 --- pkgs/tools/bluetooth/bluetuith/default.nix | 25 ++++++++++++++++++++++ pkgs/top-level/all-packages.nix | 2 ++ 2 files changed, 27 insertions(+) create mode 100644 pkgs/tools/bluetooth/bluetuith/default.nix diff --git a/pkgs/tools/bluetooth/bluetuith/default.nix b/pkgs/tools/bluetooth/bluetuith/default.nix new file mode 100644 index 000000000000..9687b1da1e85 --- /dev/null +++ b/pkgs/tools/bluetooth/bluetuith/default.nix @@ -0,0 +1,25 @@ +{ buildGoModule, fetchFromGitHub, lib, stdenv }: + +buildGoModule rec { + pname = "bluetuith"; + version = "0.0.3"; + + src = fetchFromGitHub { + owner = "darkhz"; + repo = pname; + rev = "v${version}"; + sha256 = "sha256-7JqpF9iga6RO+/r2JK0N9gjieVRUNkHhGNsfVFfKfRY="; + }; + + vendorSha256 = "sha256-MsVrhEG2DOFJAXvt5rvfctGUbb3hQsBJ7cjOSzWA+bc="; + + ldflags = [ "-s" "-w" ]; + + meta = with lib; { + description = "TUI-based bluetooth connection manager"; + homepage = "https://github.com/darkhz/bluetuith"; + license = licenses.mit; + platforms = platforms.linux; + maintainers = with maintainers; [ thehedgeh0g ]; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index c3ce352d912d..4a87306bd702 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -4701,6 +4701,8 @@ with pkgs; blueman = callPackage ../tools/bluetooth/blueman { }; + bluetuith = callPackage ../tools/bluetooth/bluetuith { }; + bmrsa = callPackage ../tools/security/bmrsa/11.nix { }; bogofilter = callPackage ../tools/misc/bogofilter { };