nur-packages

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

default.nix (719B)


      1 {
      2   lib,
      3   buildGoModule,
      4   fetchFromGitHub,
      5 }:
      6 
      7 buildGoModule rec {
      8   pname = "tiny-frpc";
      9   version = "0.1.3";
     10 
     11   src = fetchFromGitHub {
     12     owner = "gofrp";
     13     repo = "tiny-frpc";
     14     rev = "v${version}";
     15     sha256 = "sha256-vrIkSacqjt3lG5LaOXV1m3NI+j0KLFOTV/P5OacwrcU=";
     16   };
     17 
     18   vendorHash = "sha256-RbqMuLMSIrQQLDXh79hik5+IPqoYa4oXx01ouQYCpgc=";
     19 
     20   ldflags = [
     21     "-s"
     22     "-w"
     23   ];
     24 
     25   meta = {
     26     description = "tiny frpc using ssh protocol with frps";
     27     homepage = "https://github.com/gofrp/tiny-frpc";
     28     changelog = "https://github.com/gofrp/tiny-frpc/blob/v${version}/CHANGELOG.md";
     29     license = lib.licenses.asl20;
     30     maintainers = [ lib.maintainers.sikmir ];
     31     mainProgram = "tiny-frpc";
     32   };
     33 }