summary refs log tree commit diff
path: root/pkgs/tools
diff options
context:
space:
mode:
authorJonas Chevalier <zimbatm@zimbatm.com>2021-05-20 20:58:41 +0200
committerGitHub <noreply@github.com>2021-05-20 20:58:41 +0200
commit30c021fa159d8ed3081ae35c339d6d8100c69481 (patch)
tree6fe8c3620465adbe60f6d2fe8cb004557ab5c549 /pkgs/tools
parent9262685d3b8bc7509b59efa46db7fb9a7d23bb7d (diff)
parentdc9cb63de4cbb6035eb435f54ef65413d1a4b5dc (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.nix29
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;
+}