diff options
author | Doron Behar <doron.behar@gmail.com> | 2023-06-18 17:59:09 +0300 |
---|---|---|
committer | Doron Behar <doron.behar@gmail.com> | 2023-06-18 18:07:14 +0300 |
commit | 53cacfbc492f8cc81a8692cbbfa46e0e3d7a6d95 (patch) | |
tree | 802a39b88b104380d3c29ca40a2bb9c2e24fa3ac /pkgs/tools/networking/meek | |
parent | 8fe6cacd959e7abbf8a4efc8b2c37f7ea6ba9bb5 (diff) |
meek: init at 0.38.0
Diffstat (limited to 'pkgs/tools/networking/meek')
-rw-r--r-- | pkgs/tools/networking/meek/default.nix | 47 |
1 files changed, 47 insertions, 0 deletions
diff --git a/pkgs/tools/networking/meek/default.nix b/pkgs/tools/networking/meek/default.nix new file mode 100644 index 0000000000000..bb6209827883e --- /dev/null +++ b/pkgs/tools/networking/meek/default.nix @@ -0,0 +1,47 @@ +{ lib +, buildGoModule +, fetchFromGitLab +, installShellFiles +}: + +buildGoModule rec { + pname = "meek"; + version = "0.38.0"; + + src = fetchFromGitLab { + domain = "gitlab.torproject.org"; + group = "tpo"; + owner = "anti-censorship/pluggable-transports"; + repo = "meek"; + rev = "v${version}"; + sha256 = "sha256-zmIRXrHWrEzR+RcX/gkuqw2oBmyGoXDQ45ZjA4vwGSs="; + }; + + vendorHash = "sha256-eAO6vEPKqWWZkmJXmOCeTa7TE8opynYvvxzPDSe9p+I="; + + subPackages = [ + "meek-client" + "meek-server" + ]; + + nativeBuildInputs = [ installShellFiles ]; + + postInstall = '' + installManPage doc/meek-client.1 + installManPage doc/meek-server.1 + ''; + + meta = with lib; { + description = "Blocking-resistant pluggable transport for Tor"; + longDescription = '' + meek is a blocking-resistant pluggable transport for Tor. It encodes a + data stream as a sequence of HTTPS requests and responses. Requests are + reflected through a hard-to-block third-party web server in order to + avoid talking directly to a Tor bridge. HTTPS encryption hides + fingerprintable byte patterns in Tor traffic. + ''; + homepage = "https://gitlab.torproject.org/tpo/anti-censorship/pluggable-transports/meek"; + maintainers = with maintainers; [ doronbehar ]; + license = licenses.cc0; + }; +} |