packages feed

happstack-server-tls-7.1.4: happstack-server-tls.cabal

Name:                happstack-server-tls
Version:             7.1.4
Synopsis:            extend happstack-server with https:// support (TLS/SSL)
Description:         extend happstack-server with https:// support (TLS/SSL)
Homepage:            http://www.happstack.com/
License:             BSD3
License-file:        LICENSE
Author:              Jeremy Shaw
Maintainer:          jeremy@n-heptane.com
Copyright:           2012 Jeremy Shaw
Category:            Web, Happstack
Build-type:          Simple
Cabal-version:       >=1.6

Library
    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.11,
                       extensible-exceptions == 0.1.*,
                       happstack-server      >= 6.6.4 && < 7.4,
                       hslogger              >=  1.1 && < 1.3,
                       HsOpenSSL             >= 0.10 && < 0.12,
                       network               >= 2.3 && < 2.7,
                       sendfile              == 0.7.*,
                       time                  >= 1.2 && < 1.6
    -- 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