nur-packages

My NUR packages
git clone git://git.sikmir.ru/nur-packages
Log | Files | Refs | README | LICENSE

commit 373b0e6f9ae07fc6e5331fa910dfca9494646abe
parent 7c0f4e4a85506f4465526d336a4838dd5df40a84
Author: Nikolay Korotkiy <sikmir@disroot.org>
Date:   Sun,  8 Sep 2024 10:35:41 +0400

Add tsnsrv

Diffstat:
Mpkgs/default.nix | 1+
Apkgs/misc/tsnsrv/default.nix | 29+++++++++++++++++++++++++++++
2 files changed, 30 insertions(+), 0 deletions(-)

diff --git a/pkgs/default.nix b/pkgs/default.nix @@ -400,6 +400,7 @@ lib.makeScope newScope ( tiny-frpc = callPackage ./misc/tiny-frpc { }; tinyflux = callPackage ./misc/tinyflux { }; tlstunnel = callPackage ./misc/tlstunnel { }; + tsnsrv = callPackage ./misc/tsnsrv { }; turbo = callPackage ./misc/turbo { }; tvision = callPackage ./misc/tvision { }; wik = callPackage ./misc/wik { }; diff --git a/pkgs/misc/tsnsrv/default.nix b/pkgs/misc/tsnsrv/default.nix @@ -0,0 +1,29 @@ +{ + lib, + buildGoModule, + fetchFromGitHub, +}: + +buildGoModule rec { + pname = "tsnsrv"; + version = "0-unstable-2024-07-22"; + + src = fetchFromGitHub { + owner = "boinkor-net"; + repo = "tsnsrv"; + rev = "0260f4f52d452d15f71e0297561bba367f92d7fd"; + hash = "sha256-LrMqwcX6e6F93y0+gr1rmABp2eerq6bRu58QftDXLU0="; + }; + + subPackages = [ "cmd/tsnsrv" ]; + + vendorHash = "sha256-5Z2qPuQBvLRgsMd9z8WrtGJcLwyJjclyh2g0KdFR3hc="; + + meta = { + description = "A reverse proxy that exposes services on your tailnet"; + homepage = "https://github.com/boinkor-net/tsnsrv"; + license = lib.licenses.mit; + maintainers = [ lib.maintainers.sikmir ]; + mainProgram = "tsnsrv"; + }; +}