mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-23 21:33:49 +00:00
571c71e6f7
We are migrating packages that meet below requirements: 1. using `callPackage` 2. called path is a directory 3. overriding set is empty (`{ }`) 4. not containing path expressions other than relative path (to makenixpkgs-vet happy) 5. not referenced by nix files outside of the directory, other than`pkgs/top-level/all-packages.nix` 6. not referencing nix files outside of the directory 7. not referencing `default.nix` (since it's changed to `package.nix`) 8. `outPath` doesn't change after migration The tool is here: https://github.com/Aleksanaa/by-name-migrate.
34 lines
784 B
Nix
34 lines
784 B
Nix
{ 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 ];
|
|
mainProgram = "tailscale-systray";
|
|
};
|
|
}
|