ghostunnel: format

This commit is contained in:
Sandro Jäckel 2021-08-02 09:18:47 +02:00
parent 476f8e0e17
commit b4c40c665c
No known key found for this signature in database
GPG key ID: 3AF5A43A3EECC2E5

View file

@ -1,8 +1,7 @@
{ { buildGoModule
buildGoModule, , fetchFromGitHub
fetchFromGitHub, , lib
lib, , nixosTests
nixosTests,
}: }:
buildGoModule rec { buildGoModule rec {
@ -27,13 +26,15 @@ buildGoModule rec {
mv $sourceRoot/certstore $sourceRoot/vendor/ghostunnel/ mv $sourceRoot/certstore $sourceRoot/vendor/ghostunnel/
''; '';
passthru.tests = {
nixos = nixosTests.ghostunnel;
podman = nixosTests.podman-tls-ghostunnel;
};
meta = with lib; { meta = with lib; {
description = "A simple TLS proxy with mutual authentication support for securing non-TLS backend applications"; description = "A simple TLS proxy with mutual authentication support for securing non-TLS backend applications";
homepage = "https://github.com/ghostunnel/ghostunnel#readme"; homepage = "https://github.com/ghostunnel/ghostunnel#readme";
license = licenses.asl20; license = licenses.asl20;
maintainers = with maintainers; [ roberth ]; maintainers = with maintainers; [ roberth ];
}; };
passthru.tests.nixos = nixosTests.ghostunnel;
passthru.tests.podman = nixosTests.podman-tls-ghostunnel;
} }