1{ buildGoModule, fetchFromGitHub, lib, stdenv }:
2
3buildGoModule rec {
4 pname = "bluetuith";
5 version = "0.1.3";
6
7 src = fetchFromGitHub {
8 owner = "darkhz";
9 repo = pname;
10 rev = "v${version}";
11 sha256 = "sha256-Xcj+1zSAgizj5e1VY77ma8i9XEuDaebyNZJcFCsNYwI=";
12 };
13
14 vendorSha256 = "sha256-vPVfI2MXrUEvx/jlt6A3EEHiyiy4R3FSw3UnF76ZZho=";
15
16 ldflags = [ "-s" "-w" ];
17
18 meta = with lib; {
19 description = "TUI-based bluetooth connection manager";
20 homepage = "https://github.com/darkhz/bluetuith";
21 license = licenses.mit;
22 platforms = platforms.linux;
23 maintainers = with maintainers; [ thehedgeh0g ];
24 };
25}