packages feed

wai-app-file-cgi-3.2.0: wai-app-file-cgi.cabal

cabal-version:      1.18
name:               wai-app-file-cgi
version:            3.2.0
license:            BSD3
license-file:       LICENSE
maintainer:         Kazu Yamamoto <kazu@iij.ad.jp>
author:             Kazu Yamamoto <kazu@iij.ad.jp>
homepage:           http://www.mew.org/~kazu/proj/mighttpd/
synopsis:           File/CGI/Rev Proxy App of WAI
description:
    This WAI application library handles static files,
    executes CGI scripts, and serves as a reverse proxy
    (including EventSource).

category:           Web, Yesod
build-type:         Simple
extra-doc-files:
    README.md
    CHANGELOG.md
extra-source-files:
    test/cgi-bin/index.cgi
    test/cgi-bin/broken
    test/cgi-bin/echo-env
    test/data/post
    test/html/index.html
    test/html/ja/index.html.ja
    test/html/no_extension
    test/html/redirect/index.html

source-repository head
    type:     git
    location: https://github.com/kazu-yamamoto/wai-app-file-cgi

library
    exposed-modules:  Network.Wai.Application.Classic
    other-modules:
        Network.Wai.Application.Classic.CGI
        Network.Wai.Application.Classic.Conduit
        Network.Wai.Application.Classic.Def
        Network.Wai.Application.Classic.EventSource
        Network.Wai.Application.Classic.Field
        Network.Wai.Application.Classic.File
        Network.Wai.Application.Classic.FileInfo
        Network.Wai.Application.Classic.Header
        Network.Wai.Application.Classic.Lang
        Network.Wai.Application.Classic.Path
        Network.Wai.Application.Classic.Redirect
        Network.Wai.Application.Classic.Status
        Network.Wai.Application.Classic.Types
        Network.Wai.Application.Classic.RevProxy

    default-language: Haskell2010
    ghc-options:      -Wall
    build-depends:
        base >=4.9 && <5,
        array,
        attoparsec >=0.10.0.0,
        bytestring,
        case-insensitive,
        conduit >=1.1,
        conduit-extra,
        containers,
        directory,
        filepath,
        http-client >=0.5,
        http-conduit >=2.1,
        http-date,
        http-types >=0.7,
        mime-types,
        network,
        process,
        sockaddr,
        static-hash,
        text,
        transformers,
        unix,
        wai >=3.2 && <3.3,
        wai-conduit,
        warp >=3.4 && <3.5,
        word8

    if impl(ghc >=8)
        default-extensions: Strict StrictData

test-suite spec
    type:             exitcode-stdio-1.0
    main-is:          Spec.hs
    hs-source-dirs:   test
    other-modules:    ClassicSpec
    default-language: Haskell2010
    ghc-options:      -threaded -Wall
    build-depends:
        base >=4.9 && <5,
        bytestring,
        conduit >=1.1,
        conduit-extra,
        directory,
        filepath,
        hspec >=1.3,
        http-types,
        unix,
        wai >=3.2 && <3.3,
        wai-app-file-cgi,
        warp >=3.4 && <3.5,
        HTTP

    if impl(ghc >=8)
        default-extensions: Strict StrictData