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