package.nix (760B)
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 = [ "-s" ]; 23 24 meta = { 25 description = "tiny frpc using ssh protocol with frps"; 26 homepage = "https://github.com/gofrp/tiny-frpc"; 27 changelog = "https://github.com/gofrp/tiny-frpc/blob/v${finalAttrs.version}/CHANGELOG.md"; 28 license = lib.licenses.asl20; 29 maintainers = [ lib.maintainers.sikmir ]; 30 mainProgram = "frpc"; 31 }; 32 })
