Unverified Commit 8fce0634 authored by Nick Cao's avatar Nick Cao Committed by GitHub
Browse files

Merge pull request #238438 from doronbehar/pkg/meek

meek: init at 0.38.0
parents 63728bc3 53cacfbc
Loading
Loading
Loading
Loading
+47 −0
Original line number Diff line number Diff line
{ 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;
  };
}
+2 −0
Original line number Diff line number Diff line
@@ -31579,6 +31579,8 @@ with pkgs;
  marker = callPackage ../applications/editors/marker { };
  meek = callPackage ../tools/networking/meek { };
  meerk40t = callPackage ../applications/misc/meerk40t { };
  meerk40t-camera = callPackage ../applications/misc/meerk40t/camera.nix { };