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