summary refs log tree commit diff
diff options
context:
space:
mode:
authorMr Hedgehog <hedgehog@mrhedgehog.xyz>2022-07-13 11:16:23 -0400
committerMr Hedgehog <hedgehog@mrhedgehog.xyz>2022-07-14 07:57:27 -0400
commit84e684b7ece0e5f2a94367d1bce581d779c5ac9b (patch)
tree00cfc904a5b8afc398a6169f42b09a8d8eaf6ad9
parent070314b62d7b243ee127bda8710e0020776c48a8 (diff)
downloadnixpkgs-84e684b7ece0e5f2a94367d1bce581d779c5ac9b.tar
nixpkgs-84e684b7ece0e5f2a94367d1bce581d779c5ac9b.tar.gz
nixpkgs-84e684b7ece0e5f2a94367d1bce581d779c5ac9b.tar.bz2
nixpkgs-84e684b7ece0e5f2a94367d1bce581d779c5ac9b.tar.lz
nixpkgs-84e684b7ece0e5f2a94367d1bce581d779c5ac9b.tar.xz
nixpkgs-84e684b7ece0e5f2a94367d1bce581d779c5ac9b.tar.zst
nixpkgs-84e684b7ece0e5f2a94367d1bce581d779c5ac9b.zip
bluetuith: init at 0.0.3
-rw-r--r--pkgs/tools/bluetooth/bluetuith/default.nix25
-rw-r--r--pkgs/top-level/all-packages.nix2
2 files changed, 27 insertions, 0 deletions
diff --git a/pkgs/tools/bluetooth/bluetuith/default.nix b/pkgs/tools/bluetooth/bluetuith/default.nix
new file mode 100644
index 00000000000..9687b1da1e8
--- /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 c3ce352d912..4a87306bd70 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 { };