servant/servant.cabal
2014-10-30 15:47:54 +08:00

97 lines
1.9 KiB
Text

name: servant
version: 0.2
-- synopsis:
-- description:
license: BSD3
license-file: LICENSE
author: Alp Mestanogullari, Sönke Hahn, Julian K. Arni
maintainer: alpmestan@gmail.com
copyright: 2014 Zalora South East Asia Pte Ltd
category: Web
build-type: Simple
cabal-version: >=1.10
library
exposed-modules:
Servant
Servant.Client
Servant.Docs
Servant.Server
Servant.API
Servant.API.Capture
Servant.API.Delete
Servant.API.Get
Servant.API.Post
Servant.API.Put
Servant.API.QueryParam
Servant.API.ReqBody
Servant.API.QQ
Servant.API.Raw
Servant.API.Sub
Servant.API.Union
Servant.Utils.Text
-- other-modules:
-- other-extensions:
build-depends:
base >=4.7 && <5
, either
, aeson
, bytestring
, exceptions
, string-conversions
, split
, http-client
, http-types
, network-uri
, wai
, warp
, safe
, transformers
, template-haskell
, text
, lens
, unordered-containers
, hashable
hs-source-dirs: src
default-language: Haskell2010
ghc-options: -O0 -Wall
executable greet
main-is: greet.hs
hs-source-dirs: example
ghc-options: -O0 -Wall
default-language: Haskell2010
build-depends:
base
, servant
, aeson
, warp
, wai
, either
, text
, network-uri
test-suite spec
type: exitcode-stdio-1.0
ghc-options:
-Wall -Werror -fno-warn-name-shadowing -fno-warn-missing-signatures
default-language: Haskell2010
hs-source-dirs: test
main-is: Spec.hs
build-depends:
base == 4.*
, aeson
, bytestring
, either
, exceptions
, hspec2
, hspec-wai
, http-client
, http-types
, network-uri >= 2.6
, servant
, string-conversions
, text
, transformers
, wai
, wai-extra