nur-packages

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

default.nix (688B)


      1 {
      2   lib,
      3   buildGoModule,
      4   fetchFromGitHub,
      5 }:
      6 
      7 buildGoModule rec {
      8   pname = "tsnsrv";
      9   version = "0-unstable-2024-07-22";
     10 
     11   src = fetchFromGitHub {
     12     owner = "boinkor-net";
     13     repo = "tsnsrv";
     14     rev = "0260f4f52d452d15f71e0297561bba367f92d7fd";
     15     hash = "sha256-LrMqwcX6e6F93y0+gr1rmABp2eerq6bRu58QftDXLU0=";
     16   };
     17 
     18   subPackages = [ "cmd/tsnsrv" ];
     19 
     20   vendorHash = "sha256-5Z2qPuQBvLRgsMd9z8WrtGJcLwyJjclyh2g0KdFR3hc=";
     21 
     22   meta = {
     23     description = "A reverse proxy that exposes services on your tailnet";
     24     homepage = "https://github.com/boinkor-net/tsnsrv";
     25     license = lib.licenses.mit;
     26     maintainers = [ lib.maintainers.sikmir ];
     27     mainProgram = "tsnsrv";
     28   };
     29 }