on b00596a help sign in
servant/servant.cabal
97 lines 3.1 kB history raw
1name: servant
2version: 0.2.2
3synopsis: A family of combinators for defining webservices APIs
4description:
5 A family of combinators for defining webservices APIs and serving them
6 .
7 You can learn about the basics in <http://haskell-servant.github.io/getting-started/ the getting started> guide.
8 .
9 <https://github.com/haskell-servant/servant-server/blob/master/example/greet.hs Here>'s a runnable example, with comments, that defines a dummy API and
10 implements a webserver that serves this API, using the <http://hackage.haskell.org/package/servant-server servant-server> package.
11homepage: http://haskell-servant.github.io/
12Bug-reports: http://github.com/haskell-servant/servant/issues
13license: BSD3
14license-file: LICENSE
15author: Alp Mestanogullari, Sönke Hahn, Julian K. Arni
16maintainer: alpmestan@gmail.com
17copyright: 2014 Zalora South East Asia Pte Ltd
18category: Web
19build-type: Simple
20cabal-version: >=1.10
21tested-with: GHC >= 7.8
22source-repository head
23 type: git
24 location: http://github.com/haskell-servant/servant.git
26library
27 exposed-modules:
28 Servant.API
29 Servant.API.Alternative
30 Servant.API.Capture
31 Servant.API.ContentTypes
32 Servant.API.Delete
33 Servant.API.Get
34 Servant.API.Header
35 Servant.API.Patch
36 Servant.API.Post
37 Servant.API.Put
38 Servant.API.QueryParam
39 Servant.API.MatrixParam
40 Servant.API.Raw
41 Servant.API.ReqBody
42 Servant.API.Sub
43 Servant.Common.Text
44 Servant.Utils.Links
45 build-depends:
46 base >=4.7 && <5
47 , aeson >= 0.7
48 , bytestring == 0.10.*
49 , http-media >= 0.4 && < 0.7
50 , http-types == 0.8.*
51 , text >= 1 && < 2
52 , template-haskell >= 2.7 && < 2.10
53 , parsec >= 3.1
54 , string-conversions >= 0.3 && < 0.4
55 , network-uri >= 2.6
56 hs-source-dirs: src
57 default-language: Haskell2010
58 other-extensions: ConstraintKinds
59 , DataKinds
60 , DeriveDataTypeable
61 , FlexibleInstances
62 , FunctionalDependencies
63 , GADTs
64 , KindSignatures
65 , MultiParamTypeClasses
66 , OverlappingInstances
67 , OverloadedStrings
68 , PolyKinds
69 , QuasiQuotes
70 , RecordWildCards
71 , ScopedTypeVariables
72 , TemplateHaskell
73 , TypeFamilies
74 , TypeOperators
75 , TypeSynonymInstances
76 , UndecidableInstances
77 ghc-options: -Wall
79test-suite spec
80 type: exitcode-stdio-1.0
81 ghc-options:
82 -Wall -fno-warn-name-shadowing -fno-warn-missing-signatures
83 default-language: Haskell2010
84 hs-source-dirs: test
85 main-is: Spec.hs
86 build-depends:
87 base == 4.*
88 , aeson
89 , bytestring
90 , hspec == 2.*
91 , QuickCheck
92 , quickcheck-instances
93 , parsec
94 , servant
95 , string-conversions
96 , text
97 , url