diff options
author | Mario Rodas <marsam@users.noreply.github.com> | 2019-12-07 21:23:43 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-12-07 21:23:43 -0500 |
commit | eae8b637202b3dd4b90fa3d2faede8bf5cf84896 (patch) | |
tree | aa73574ce9a1033dd0c3a2f8aba4a6eb28851455 /pkgs/tools/networking | |
parent | 2064b045ce47a04ac21f90ec08fde44d267c8bb9 (diff) | |
parent | b8c2bb4e2ebfa26a439e3e08ecf330933d7e38b3 (diff) | |
download | nixlib-eae8b637202b3dd4b90fa3d2faede8bf5cf84896.tar nixlib-eae8b637202b3dd4b90fa3d2faede8bf5cf84896.tar.gz nixlib-eae8b637202b3dd4b90fa3d2faede8bf5cf84896.tar.bz2 nixlib-eae8b637202b3dd4b90fa3d2faede8bf5cf84896.tar.lz nixlib-eae8b637202b3dd4b90fa3d2faede8bf5cf84896.tar.xz nixlib-eae8b637202b3dd4b90fa3d2faede8bf5cf84896.tar.zst nixlib-eae8b637202b3dd4b90fa3d2faede8bf5cf84896.zip |
Merge pull request #74150 from filalex77/frp-0.29.1
frp: init at 0.30.0
Diffstat (limited to 'pkgs/tools/networking')
-rw-r--r-- | pkgs/tools/networking/frp/default.nix | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/pkgs/tools/networking/frp/default.nix b/pkgs/tools/networking/frp/default.nix new file mode 100644 index 000000000000..87932cd02bd3 --- /dev/null +++ b/pkgs/tools/networking/frp/default.nix @@ -0,0 +1,31 @@ +{ buildGoModule, lib, fetchFromGitHub }: + +buildGoModule rec { + pname = "frp"; + version = "0.30.0"; + + src = fetchFromGitHub { + owner = "fatedier"; + repo = pname; + rev = "v${version}"; + sha256 = "15q2lfwqyicgllhh5fn3a8g3iw9m42cd0izb99a24hn57pd9cr0n"; + }; + + modSha256 = "1zbl0gfc99pbzdacxhfa1k3y6i7v13sb441wpbp9aygxhvwqrms9"; + + subPackages = [ "cmd/frpc" "cmd/frps" ]; + + meta = with lib; { + 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 = licenses.asl20; + maintainers = with maintainers; [ filalex77 ]; + platforms = platforms.all; + }; +} |