diff --git a/pkgs/tools/networking/phantomsocks/default.nix b/pkgs/tools/networking/phantomsocks/default.nix new file mode 100644 index 000000000000..fc8fef3a14b8 --- /dev/null +++ b/pkgs/tools/networking/phantomsocks/default.nix @@ -0,0 +1,29 @@ +{ lib +, buildGoModule +, fetchFromGitHub +}: + +buildGoModule rec { + pname = "phantomsocks"; + version = "unstable-2023-04-05"; + + src = fetchFromGitHub { + owner = "macronut"; + repo = pname; + rev = "a54ae9f3611e8623f89e69273f2ded7f7c0a7abf"; + hash = "sha256-ytTLwKlwbaiSWDRZBkOV7Hrl5ywWzLbv/fJ7nVlD++E="; + }; + + vendorHash = "sha256-c0NQfZuMMWz1ASwFBcpMNjxZwXLo++gMYBiNgvT8ZLQ="; + + meta = with lib;{ + homepage = "https://github.com/macronut/phantomsocks"; + description = "A cross-platform proxy client/server for Linux/Windows/macOS"; + longDescription = '' + A cross-platform proxy tool that could be used to modify TCP packets + to implement TCB desync to bypass detection and censoring. + ''; + license = licenses.lgpl3Only; + maintainers = with maintainers; [ oluceps ]; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index e296abe63928..8a273fc7368b 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -32977,6 +32977,8 @@ with pkgs; pfsshell = callPackage ../tools/misc/pfsshell { }; + phantomsocks = callPackage ../tools/networking/phantomsocks { }; + photoqt = libsForQt5.callPackage ../applications/graphics/photoqt { }; photoflare = libsForQt5.callPackage ../applications/graphics/photoflare { };