packages feed

happstack-server-tls-7.2.1.3: happstack-server-tls.cabal

Name:                happstack-server-tls
Version:             7.2.1.3
Synopsis:            extend happstack-server with https:// support (TLS/SSL)
Description:         Allows you to use https:// without relying on apache, nginx, etc
Homepage:            http://www.happstack.com/
License:             BSD3
License-file:        LICENSE
Author:              Jeremy Shaw
Maintainer:          jeremy@n-heptane.com
Copyright:           2012-2019, Jeremy Shaw
Category:            Web, Happstack
Build-type:          Simple
Cabal-version:       >=1.10
tested-with:         GHC==8.0.2, GHC==8.2.2, GHC==8.4.4, GHC==8.6.5, GHC==8.8.4, GHC==8.10.7, GHC==9.0.2, GHC==9.2.2
extra-source-files:  README.md

source-repository head
    type:     git
    location: https://github.com/Happstack/happstack-server-tls.git

Library
    Default-language:    Haskell2010
    hs-source-dirs:    src
    ghc-options:       -Wall -fno-warn-unused-do-bind
    Exposed-modules:   Happstack.Server.Internal.TimeoutSocketTLS
                       Happstack.Server.Internal.TLS
                       Happstack.Server.SimpleHTTPS

    Build-Depends:     base                  <  5,
                       bytestring            >= 0.9 && < 0.12,
                       extensible-exceptions == 0.1.*,
                       happstack-server      >= 6.6.4 && < 7.9,
                       hslogger              >=  1.1 && < 1.4,
                       HsOpenSSL             >= 0.10 && < 0.12,
                       network               >  2.6 && < 2.9 || >= 3.0.0 && < 3.2,
                       sendfile              == 0.7.*,
                       time                  >= 1.2 && < 1.14
    -- these extra libraries are not needed to build/install the server
    -- but they do need to be installed if you want to use GHCi or
    -- Template Haskell afterwards
    Extra-Libraries:   ssl
--    if !os(darwin)
--        Extra-Libraries: cryptopp

    if !os(windows)
       Build-Depends:  unix
       cpp-options:    -DUNIX