nixpkgs/pkgs/by-name/go/golink/package.nix
Alexis Hildebrandt 755b915a15 treewide: Remove indefinite article from meta.description
nix run nixpkgs#silver-searcher -- -G '\.nix$' -0l 'description.*"[Aa]n?' pkgs \
  | xargs -0 nix run nixpkgs#gnused -- -i '' -Ee 's/(description.*")[Aa]n? (.)/\1\U\2/'
2024-06-09 23:07:45 +02:00

33 lines
726 B
Nix

{ lib
, buildGoModule
, fetchFromGitHub
}:
buildGoModule rec {
pname = "golink";
version = "0-unstable-2024-01-26";
src = fetchFromGitHub {
owner = "tailscale";
repo = "golink";
# https://github.com/tailscale/golink/issues/104
rev = "d9de913fb174ec2569a15b6e2dbe5cb6e4a0a853";
hash = "sha256-w6jRbajEQkOrBqxDnQreSmSB5DNL9flWjloShiIBM+M=";
};
vendorHash = "sha256-R/o3csZC/M9nm0k5STL7AhbG5J4LtdxqKaVjM/9ggW8=";
ldflags = [
"-s"
"-w"
];
meta = with lib; {
description = "Private shortlink service for tailnets";
homepage = "https://github.com/tailscale/golink";
license = licenses.bsd3;
maintainers = with maintainers; [ fab ];
mainProgram = "golink";
};
}