packages feed

warp-tls-uid-0.1.0.3: warp-tls-uid.cabal

build-type: Simple
cabal-version: >= 1.8

category: Yesod

name: warp-tls-uid
version: 0.1.0.3
stability: Experimental

author:		Yoshikuni Jujo <PAF01143@nifty.ne.jp>
maintainer:	Yoshikuni Jujo <PAF01143@nifty.ne.jp>
license: BSD3
license-file: LICENSE

synopsis: set group and user id before running server
description:
    > runTLSSocketWithID tlss settings sock ("user", "bob") app

source-repository head
    type: git
    location: git://github.com/YoshikuniJujo/warp-tls-uid

source-repository this
    type: git
    location: git://github.com/YoshikuniJujo/warp-tls-uid
    tag: 0.1.0.3

Flag test
    Description: test
    Default:     False

library
    hs-source-dirs: src-lib
    exposed-modules: Network.Wai.Handler.WarpTLS.UID
    other-modules:
        Network.Wai.Handler.WarpTLS.TLS
        Network.Wai.Handler.WarpTLS.Params
        Network.Wai.Handler.WarpTLS.Getter
    build-depends:
        base > 3 && < 5, unix, warp == 2.0.*, wai == 2.0.*, network == 2.4.*,
        bytestring == 0.10.*, network-conduit == 1.0.*, conduit == 1.0.*,
        tls-extra == 0.6.*, tls == 1.1.*, certificate == 1.3.*, pem == 0.2.*,
        crypto-random == 0.0.7
    extensions: DoAndIfThenElse
    ghc-options: -Wall

executable testServer
    if flag(test)
        Buildable: True
    else
        Buildable: False

    hs-source-dirs: src-test
    main-is: testWarpTLS.hs
    build-depends:
        warp-tls-uid,
        base > 3 && < 5, unix, warp == 2.0.*, wai == 2.0.*, network == 2.4.*,
        bytestring == 0.10.*, network-conduit == 1.0.*, conduit == 1.0.*,
        tls-extra == 0.6.*, tls == 1.1.*, certificate == 1.3.*, pem == 0.2.*,
        crypto-random == 0.0.7,
        http-types == 0.8.*
    extensions: DoAndIfThenElse
    ghc-options: -Wall

-- test-suite test
--    type: exitcode-stdio-1.0
--    main-is: testWarpTLS.hs
--    build-depends:
--        base > 3 && < 5, warp-tls-uid, warp == 2.0.*, wai == 2.0.*,
--        http-types == 0.8.*, network == 2.4.*, network-conduit == 1.0.*,
--        unix == 2.6.*, bytestring == 0.10.*, conduit == 1.0.*, tls-extra == 0.6.*,
--        tls == 1.1.*, certificate == 1.3.*, pem == 0.2.*, crypto-random == 0.0.7
--    extensions: DoAndIfThenElse