diff options
Diffstat (limited to 'pkgs/servers/sslh/default.nix')
-rw-r--r-- | pkgs/servers/sslh/default.nix | 43 |
1 files changed, 0 insertions, 43 deletions
diff --git a/pkgs/servers/sslh/default.nix b/pkgs/servers/sslh/default.nix deleted file mode 100644 index a9ca0c8f2585..000000000000 --- a/pkgs/servers/sslh/default.nix +++ /dev/null @@ -1,43 +0,0 @@ -{ lib, stdenv, fetchFromGitHub, libcap, libev, libconfig, perl, tcp_wrappers, pcre2, nixosTests }: - -stdenv.mkDerivation rec { - pname = "sslh"; - version = "2.1.2"; - - src = fetchFromGitHub { - owner = "yrutschle"; - repo = pname; - rev = "v${version}"; - hash = "sha256-+G6xYiytSWW2CljuaeJZfTuXCjkbDCzwU/FSLBmvnGw="; - }; - - postPatch = "patchShebangs *.sh"; - - buildInputs = [ libev libconfig perl pcre2 ] ++ lib.optionals stdenv.isLinux [ libcap tcp_wrappers ]; - - makeFlags = lib.optionals stdenv.isLinux [ "USELIBCAP=1" "USELIBWRAP=1" ]; - - postInstall = '' - # install all flavours - install -p sslh-fork "$out/sbin/sslh-fork" - install -p sslh-select "$out/sbin/sslh-select" - install -p sslh-ev "$out/sbin/sslh-ev" - ln -sf sslh-fork "$out/sbin/sslh" - ''; - - installFlags = [ "PREFIX=$(out)" ]; - - hardeningDisable = [ "format" ]; - - passthru.tests = { - inherit (nixosTests) sslh; - }; - - meta = with lib; { - description = "Applicative Protocol Multiplexer (e.g. share SSH and HTTPS on the same port)"; - license = licenses.gpl2Plus; - homepage = "https://www.rutschle.net/tech/sslh/README.html"; - maintainers = with maintainers; [ koral fpletz ]; - platforms = platforms.all; - }; -} |