Skip to content

Commit

Permalink
Merge pull request #224793 from oluceps/add-phantomsocks
Browse files Browse the repository at this point in the history
phantomsocks: init at unstable-2023-04-05
  • Loading branch information
NickCao authored Apr 23, 2023
2 parents de4e75a + a5165e9 commit 108f25c
Show file tree
Hide file tree
Showing 2 changed files with 31 additions and 0 deletions.
29 changes: 29 additions & 0 deletions pkgs/tools/networking/phantomsocks/default.nix
Original file line number Diff line number Diff line change
@@ -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 ];
};
}
2 changes: 2 additions & 0 deletions pkgs/top-level/all-packages.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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 { };
Expand Down

0 comments on commit 108f25c

Please sign in to comment.