git.iko.soy/typeable/servant
on release-0.15 help sign in
typeable/servant/servant-docs/servant-docs.cabal
113 lines 3.3 kB history raw
1cabal-version: >=1.10
2name: servant-docs
3version: 0.11.3
5synopsis: generate API docs for your servant webservice
6category: Servant, Web
7description:
8 Library for generating API docs from a servant API definition.
9 .
10 Runnable example <https://github.com/haskell-servant/servant/blob/master/servant-docs/example/greet.hs here>.
11 .
12 <https://github.com/haskell-servant/servant/blob/master/servant-docs/CHANGELOG.md CHANGELOG>
14homepage: http://haskell-servant.readthedocs.org/
15bug-reports: http://github.com/haskell-servant/servant/issues
16license: BSD3
17license-file: LICENSE
18author: Servant Contributors
19maintainer: haskell-servant-maintainers@googlegroups.com
20copyright: 2014-2016 Zalora South East Asia Pte Ltd, 2016-2018 Servant Contributors
21build-type: Simple
22tested-with:
23 GHC ==8.0.2
24 || ==8.2.2
25 || ==8.4.4
26 || ==8.6.2
28extra-source-files:
29 CHANGELOG.md
30 README.md
31 golden/comprehensive.md
33source-repository head
34 type: git
35 location: http://github.com/haskell-servant/servant.git
37library
38 exposed-modules:
39 Servant.Docs
40 , Servant.Docs.Internal
41 , Servant.Docs.Internal.Pretty
43 -- Bundled with GHC: Lower bound to not force re-installs
44 -- text and mtl are bundled starting with GHC-8.4
45 --
46 -- note: mtl lower bound is so low because of GHC-7.8
47 build-depends:
48 base >= 4.9 && < 4.13
49 , bytestring >= 0.10.8.1 && < 0.11
50 , text >= 1.2.3.0 && < 1.3
52 -- Servant dependencies
53 build-depends:
54 servant == 0.15.*
56 -- Other dependencies: Lower bound around what is in the latest Stackage LTS.
57 -- Here can be exceptions if we really need features from the newer versions.
58 build-depends:
59 aeson >= 1.4.1.0 && < 1.5
60 , aeson-pretty >= 0.8.5 && < 0.9
61 , base-compat >= 0.10.5 && < 0.11
62 , case-insensitive >= 1.2.0.11 && < 1.3
63 , control-monad-omega >= 0.3.1 && < 0.4
64 , hashable >= 1.2.7.0 && < 1.3
65 , http-media >= 0.7.1.3 && < 0.8
66 , http-types >= 0.12.2 && < 0.13
67 , lens >= 4.17 && < 4.18
68 , string-conversions >= 0.4.0.1 && < 0.5
69 , unordered-containers >= 0.2.9.0 && < 0.3
71 hs-source-dirs: src
72 default-language: Haskell2010
73 ghc-options: -Wall -Wno-redundant-constraints
75executable greet-docs
76 main-is: greet.hs
77 hs-source-dirs: example
78 ghc-options: -Wall
79 build-depends:
80 base
81 , aeson
82 , lens
83 , servant
84 , servant-docs
85 , string-conversions
86 , text
87 default-language: Haskell2010
89test-suite spec
90 default-language: Haskell2010
91 type: exitcode-stdio-1.0
92 main-is: Spec.hs
93 other-modules: Servant.DocsSpec
94 hs-source-dirs: test
95 ghc-options: -Wall
97 -- Dependencies inherited from the library. No need to specify bounds.
98 build-depends:
99 base
100 , base-compat
101 , aeson
102 , lens
103 , servant
104 , servant-docs
105 , string-conversions
107 -- Additonal dependencies
108 build-depends:
109 tasty >= 1.1.0.4 && < 1.2,
110 tasty-golden >= 2.3.2 && < 2.4,
111 tasty-hunit >= 0.10.0.1 && < 0.11,
112 transformers >= 0.5.2.0 && < 0.6