nixos: add test for sslh

This commit is contained in:
Symphorien Gibol
2020-06-20 13:24:19 +02:00
parent 433f227f70
commit 4593482d4e
3 changed files with 89 additions and 1 deletions
+5 -1
View File
@@ -1,4 +1,4 @@
{ stdenv, fetchurl, libcap, libconfig, perl, tcp_wrappers, pcre }:
{ stdenv, fetchurl, libcap, libconfig, perl, tcp_wrappers, pcre, nixosTests }:
stdenv.mkDerivation rec {
pname = "sslh";
@@ -19,6 +19,10 @@ stdenv.mkDerivation rec {
hardeningDisable = [ "format" ];
passthru.tests = {
inherit (nixosTests) sslh;
};
meta = with stdenv.lib; {
description = "Applicative Protocol Multiplexer (e.g. share SSH and HTTPS on the same port)";
license = licenses.gpl2Plus;