mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-18 11:40:45 +00:00
37 lines
1,017 B
Nix
37 lines
1,017 B
Nix
{
|
|
lib,
|
|
buildGoModule,
|
|
fetchFromGitHub,
|
|
}:
|
|
let
|
|
version = "2.10.0";
|
|
in
|
|
buildGoModule {
|
|
pname = "Cloak";
|
|
inherit version;
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "cbeuw";
|
|
repo = "Cloak";
|
|
rev = "v${version}";
|
|
hash = "sha256-JbwjsLVOxQc6v47+6rG2f1JLS8ieZI6jYV/twtaVx9M=";
|
|
};
|
|
|
|
vendorHash = "sha256-0veClhg9GujI5VrHVzAevIXkjqtZ6r7RGTP2QeWbO2w=";
|
|
|
|
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 ];
|
|
};
|
|
}
|