2023-07-11 09:12:50 -06:00
|
|
|
{
|
|
|
|
pkgs,
|
|
|
|
lib,
|
|
|
|
buildGoModule,
|
|
|
|
fetchFromGitHub,
|
|
|
|
...
|
|
|
|
}:
|
2023-01-20 12:36:46 -07:00
|
|
|
with lib;
|
|
|
|
with pkgs;
|
2023-07-11 09:12:50 -06:00
|
|
|
buildGoModule rec {
|
|
|
|
pname = "tailscale-systray";
|
|
|
|
version = "2022-10-19";
|
2023-01-20 12:36:46 -07:00
|
|
|
|
2023-07-11 09:12:50 -06:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "mattn";
|
|
|
|
repo = pname;
|
|
|
|
rev = "e7f8893684e7b8779f34045ca90e5abe6df6056d";
|
|
|
|
sha256 = "sha256-3kozp6jq0xGllxoK2lGCNUahy/FvXyq11vNSxfDehKE=";
|
|
|
|
};
|
2023-01-20 12:36:46 -07:00
|
|
|
|
2023-07-11 09:12:50 -06:00
|
|
|
vendorSha256 = "sha256-YJ74SeZAMS+dXyoPhPTJ3L+5uL5bF8gumhMOqfvmlms=";
|
2023-01-20 12:36:46 -07:00
|
|
|
|
2023-07-11 09:12:50 -06:00
|
|
|
nativeBuildInputs = [pkg-config];
|
|
|
|
buildInputs = [libayatana-appindicator gtk3];
|
2023-01-20 12:36:46 -07:00
|
|
|
|
2023-07-11 09:12:50 -06:00
|
|
|
proxyVendor = true;
|
2023-01-20 12:36:46 -07:00
|
|
|
|
2023-07-11 09:12:50 -06:00
|
|
|
meta = {
|
|
|
|
description = "Tailscale systray";
|
|
|
|
homepage = "https://github.com/mattn/tailscale-systray";
|
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = with maintainers; [qbit];
|
|
|
|
};
|
|
|
|
}
|