xin/pkgs/golink.nix

29 lines
621 B
Nix
Raw Permalink Normal View History

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