2022-12-01 21:00:23 -07:00
|
|
|
{ lib, buildGoModule, fetchFromGitHub, ... }:
|
|
|
|
|
2023-01-11 13:09:22 -07:00
|
|
|
with lib;
|
2022-12-01 21:00:23 -07:00
|
|
|
buildGoModule rec {
|
|
|
|
pname = "golink";
|
|
|
|
version = "0.0.0";
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "tailscale";
|
|
|
|
repo = pname;
|
2023-01-26 15:36:25 -07:00
|
|
|
rev = "cada6f65af471470f85092a7152023e956ce0fb4";
|
|
|
|
sha256 = "sha256-YApJezFbihypIZx8UHqqhXQ/fw1Zz/XL6P6Z3gTFtrA=";
|
2022-12-01 21:00:23 -07:00
|
|
|
};
|
|
|
|
|
2023-01-26 15:36:25 -07:00
|
|
|
vendorSha256 = "sha256-0k+1G+ox9+NZI4GaHm2Ba2Q4Eybz20gTAPnGKkU5Iec=";
|
2022-12-01 21:00:23 -07:00
|
|
|
|
|
|
|
proxyVendor = true;
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
|
|
|
|
description = "A private shortlink service for tailnets";
|
|
|
|
homepage = "https://github.com/tailscale/golink";
|
|
|
|
license = licenses.bsd3;
|
|
|
|
maintainers = with maintainers; [ qbit ];
|
|
|
|
};
|
|
|
|
}
|