diff options
author | Jonas Chevalier <zimbatm@zimbatm.com> | 2021-05-20 20:58:41 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-05-20 20:58:41 +0200 |
commit | 30c021fa159d8ed3081ae35c339d6d8100c69481 (patch) | |
tree | 6fe8c3620465adbe60f6d2fe8cb004557ab5c549 /pkgs/tools | |
parent | 9262685d3b8bc7509b59efa46db7fb9a7d23bb7d (diff) | |
parent | dc9cb63de4cbb6035eb435f54ef65413d1a4b5dc (diff) |
Merge pull request #123744 from hercules-ci/init-ghostunnel
ghostunnel: init
Diffstat (limited to 'pkgs/tools')
-rw-r--r-- | pkgs/tools/networking/ghostunnel/default.nix | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/pkgs/tools/networking/ghostunnel/default.nix b/pkgs/tools/networking/ghostunnel/default.nix new file mode 100644 index 0000000000000..5d00b493bc378 --- /dev/null +++ b/pkgs/tools/networking/ghostunnel/default.nix @@ -0,0 +1,29 @@ +{ + buildGoModule, + fetchFromGitHub, + lib, + nixosTests, +}: + +buildGoModule rec { + pname = "ghostunnel"; + version = "1.5.3"; + + src = fetchFromGitHub { + owner = "ghostunnel"; + repo = "ghostunnel"; + rev = "v${version}"; + sha256 = "15rmd89j7sfpznzznss899smizbyshprsrvsdmrbhb617myd9fpy"; + }; + + vendorSha256 = "1i95fx4a0fh6id6iy6afbva4pazr7ym6sbwi9r7la6gxzyncd023"; + + meta = with lib; { + description = "A simple TLS proxy with mutual authentication support for securing non-TLS backend applications"; + homepage = "https://github.com/ghostunnel/ghostunnel#readme"; + license = licenses.asl20; + maintainers = with maintainers; [ roberth ]; + }; + + passthru.tests.nixos = nixosTests.ghostunnel; +} |