From b4c40c665cf47c250350ef421d84873be6f5c692 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sandro=20J=C3=A4ckel?= Date: Mon, 2 Aug 2021 09:18:47 +0200 Subject: [PATCH] ghostunnel: format --- pkgs/tools/networking/ghostunnel/default.nix | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) diff --git a/pkgs/tools/networking/ghostunnel/default.nix b/pkgs/tools/networking/ghostunnel/default.nix index c5b7d3db0f1b..43cfe4812909 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; }