forked from mirrors/nixpkgs
Merge pull request #238438 from doronbehar/pkg/meek
meek: init at 0.38.0
This commit is contained in:
commit
8fce06340c
47
pkgs/tools/networking/meek/default.nix
Normal file
47
pkgs/tools/networking/meek/default.nix
Normal file
|
@ -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;
|
||||
};
|
||||
}
|
|
@ -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 { };
|
||||
|
|
Loading…
Reference in a new issue