about summary refs log tree commit diff
path: root/pkgs/applications/misc/tailscale-systray/default.nix
blob: 85e927f018f13ea113da393b6bde220015b63a8d (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
{ lib
, buildGoModule
, fetchFromGitHub
, pkg-config
, gtk3
, libayatana-appindicator
}:
buildGoModule rec {
  pname = "tailscale-systray";
  version = "2022-10-19";

  src = fetchFromGitHub {
    owner = "mattn";
    repo = pname;
    rev = "e7f8893684e7b8779f34045ca90e5abe6df6056d";
    sha256 = "sha256-3kozp6jq0xGllxoK2lGCNUahy/FvXyq11vNSxfDehKE=";
  };

  vendorHash = "sha256-YJ74SeZAMS+dXyoPhPTJ3L+5uL5bF8gumhMOqfvmlms=";

  nativeBuildInputs = [ pkg-config ];
  buildInputs = [ gtk3 libayatana-appindicator ];

  proxyVendor = true;

  meta = with lib; {
    description = "Tailscale systray";
    homepage = "https://github.com/mattn/tailscale-systray";
    license = licenses.mit;
    maintainers = with maintainers; [ qbit ];
  };
}