159e378cbb
GitOrigin-RevId: c04d5652cfa9742b1d519688f65d1bbccea9eb7e
36 lines
1,016 B
Nix
36 lines
1,016 B
Nix
{
|
|
lib,
|
|
buildGoModule,
|
|
fetchFromGitHub,
|
|
}:
|
|
let
|
|
version = "2.9.0";
|
|
in
|
|
buildGoModule {
|
|
pname = "Cloak";
|
|
inherit version;
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "cbeuw";
|
|
repo = "Cloak";
|
|
rev = "v${version}";
|
|
hash = "sha256-IclSnSJAUSWWAk8UZbUJLMVcnoZk5Yvsd1n3u67cM2g=";
|
|
};
|
|
|
|
vendorHash = "sha256-kkb/gPnDbJvfc5Qqc5HuM1c9OwOu1ijfO7nNNnY3mOo=";
|
|
|
|
doCheck = false;
|
|
|
|
ldflags = [ "-X main.version=${version}" ];
|
|
meta = {
|
|
homepage = "https://github.com/cbeuw/Cloak/";
|
|
description = "Pluggable transport that enhances traditional proxy tools like OpenVPN to evade sophisticated censorship and data discrimination";
|
|
longDescription = ''
|
|
Cloak is not a standalone proxy program. Rather, it works by masquerading proxied traffic as normal web browsing activities.
|
|
|
|
To any third party observer, a host running Cloak server is indistinguishable from an innocent web server.
|
|
'';
|
|
license = lib.licenses.gpl3;
|
|
maintainers = with lib.maintainers; [ bananad3v ];
|
|
};
|
|
}
|