Files
nixpkgs/pkgs/by-name/fr/frp/package.nix
Dark Steveneq 646b892680
Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
push sheeet
2025-10-09 14:15:47 +02:00

45 lines
1.0 KiB
Nix

{
buildGoModule,
lib,
fetchFromGitHub,
nixosTests,
}:
buildGoModule (finalAttrs: {
pname = "frp";
version = "0.65.0";
src = fetchFromGitHub {
owner = "fatedier";
repo = "frp";
tag = "v${finalAttrs.version}";
hash = "sha256-H7iFrp+XevT4+3b72EkBTJKMGSPGCmRbi56RQIOXaMg=";
};
vendorHash = "sha256-lwLBGVN9wQLT8J5EyGVf1gsC89GQms2NXh9YTfjYKhY=";
doCheck = false;
subPackages = [
"cmd/frpc"
"cmd/frps"
];
passthru.tests = {
frp = nixosTests.frp;
};
meta = {
description = "Fast reverse proxy";
longDescription = ''
frp is a fast reverse proxy to help you expose a local server behind a
NAT or firewall to the Internet. As of now, it supports TCP and UDP, as
well as HTTP and HTTPS protocols, where requests can be forwarded to
internal services by domain name. frp also has a P2P connect mode.
'';
homepage = "https://github.com/fatedier/frp";
license = lib.licenses.asl20;
maintainers = with lib.maintainers; [ Br1ght0ne ];
};
})