xin/pkgs/golink.nix

30 lines
662 B
Nix
Raw Normal View History

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