summary refs log tree commit diff
path: root/pkgs/tools/networking/ghostunnel/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/tools/networking/ghostunnel/default.nix')
-rw-r--r--pkgs/tools/networking/ghostunnel/default.nix17
1 files changed, 9 insertions, 8 deletions
diff --git a/pkgs/tools/networking/ghostunnel/default.nix b/pkgs/tools/networking/ghostunnel/default.nix
index c5b7d3db0f1..43cfe481290 100644
--- a/pkgs/tools/networking/ghostunnel/default.nix
+++ b/pkgs/tools/networking/ghostunnel/default.nix
@@ -1,8 +1,7 @@
-{
-  buildGoModule,
-  fetchFromGitHub,
-  lib,
-  nixosTests,
+{ buildGoModule
+, fetchFromGitHub
+, lib
+, nixosTests
 }:
 
 buildGoModule rec {
@@ -27,13 +26,15 @@ buildGoModule rec {
     mv $sourceRoot/certstore $sourceRoot/vendor/ghostunnel/
   '';
 
+  passthru.tests = {
+    nixos = nixosTests.ghostunnel;
+    podman = nixosTests.podman-tls-ghostunnel;
+  };
+
   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;
-  passthru.tests.podman = nixosTests.podman-tls-ghostunnel;
 }