pkgs: add tailscale-systray
This commit is contained in:
parent
e737538576
commit
9b2b9376ff
@ -272,6 +272,8 @@
|
||||
inherit (pkgs.python39Packages) progressbar2;
|
||||
inherit (pkgs.python39Packages) requests;
|
||||
};
|
||||
tailscaleSystray =
|
||||
pkgs.callPackage ./pkgs/tailscale-systray.nix { inherit pkgs; };
|
||||
golink = pkgs.callPackage ./pkgs/golink.nix { inherit pkgs; };
|
||||
gokrazy = pkgs.callPackage ./pkgs/gokrazy.nix { inherit pkgs; };
|
||||
gosignify = pkgs.callPackage ./pkgs/gosignify.nix { inherit pkgs; };
|
||||
|
28
pkgs/tailscale-systray.nix
Normal file
28
pkgs/tailscale-systray.nix
Normal file
@ -0,0 +1,28 @@
|
||||
{ pkgs, lib, buildGoModule, fetchFromGitHub, ... }:
|
||||
with lib;
|
||||
with pkgs;
|
||||
buildGoModule rec {
|
||||
pname = "tailscale-systray";
|
||||
version = "2022-10-19";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "mattn";
|
||||
repo = pname;
|
||||
rev = "e7f8893684e7b8779f34045ca90e5abe6df6056d";
|
||||
sha256 = "sha256-3kozp6jq0xGllxoK2lGCNUahy/FvXyq11vNSxfDehKE=";
|
||||
};
|
||||
|
||||
vendorSha256 = "sha256-YJ74SeZAMS+dXyoPhPTJ3L+5uL5bF8gumhMOqfvmlms=";
|
||||
|
||||
nativeBuildInputs = [ pkg-config ];
|
||||
buildInputs = [ libayatana-appindicator gtk3 ];
|
||||
|
||||
proxyVendor = true;
|
||||
|
||||
meta = {
|
||||
description = "Tailscale systray";
|
||||
homepage = "https://github.com/mattn/tailscale-systray";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ qbit ];
|
||||
};
|
||||
}
|
Loading…
Reference in New Issue
Block a user