servant/servant-docs/servant-docs.cabal

116 lines
3.3 KiB
Text
Raw Permalink Normal View History

name: servant-docs
2018-02-08 11:29:16 +01:00
version: 0.11.2
2018-04-09 11:26:35 +02:00
x-revision: 2
synopsis: generate API docs for your servant webservice
description:
Library for generating API docs from a servant API definition.
.
2017-07-06 17:43:37 +02:00
Runnable example <https://github.com/haskell-servant/servant/blob/master/servant-docs/example/greet.hs here>.
2015-04-20 16:00:51 +02:00
.
<https://github.com/haskell-servant/servant/blob/master/servant-docs/CHANGELOG.md CHANGELOG>
license: BSD3
license-file: LICENSE
author: Servant Contributors
maintainer: haskell-servant-maintainers@googlegroups.com
copyright: 2014-2016 Zalora South East Asia Pte Ltd, Servant Contributors
2017-07-25 09:46:57 +02:00
category: Servant, Web
build-type: Simple
cabal-version: >=1.10
2017-10-22 11:59:10 +02:00
tested-with:
GHC==7.8.4
GHC==7.10.3
GHC==8.0.2
2017-12-10 12:29:37 +01:00
GHC==8.2.2
2016-04-21 12:22:54 +02:00
homepage: http://haskell-servant.readthedocs.org/
2015-04-20 15:55:41 +02:00
Bug-reports: http://github.com/haskell-servant/servant/issues
2015-01-04 17:18:40 +01:00
extra-source-files:
include/*.h
2015-01-04 17:18:40 +01:00
CHANGELOG.md
README.md
source-repository head
type: git
2015-04-20 15:55:41 +02:00
location: http://github.com/haskell-servant/servant.git
library
exposed-modules:
2015-04-08 16:27:38 +02:00
Servant.Docs
, Servant.Docs.Internal
2015-12-10 21:27:15 +01:00
, Servant.Docs.Internal.Pretty
2018-01-25 12:49:39 +01:00
-- Bundled with GHC: Lower bound to not force re-installs
-- text and mtl are bundled starting with GHC-8.4
--
-- note: mtl lower bound is so low because of GHC-7.8
build-depends:
2018-01-25 12:49:39 +01:00
base >= 4.7 && < 4.11
, bytestring >= 0.10.4.0 && < 0.11
, text >= 1.2.3.0 && < 1.3
2017-01-19 18:05:01 +01:00
if !impl(ghc >= 8.0)
build-depends:
2018-01-25 12:49:39 +01:00
semigroups >=0.18.3 && <0.19
-- Servant dependencies
build-depends:
2018-02-08 11:29:16 +01:00
servant == 0.13.*
2018-01-25 12:49:39 +01:00
-- Other dependencies: Lower bound around what is in the latest Stackage LTS.
-- Here can be exceptions if we really need features from the newer versions.
build-depends:
aeson >= 1.2.3.0 && < 1.4
2018-01-25 12:49:39 +01:00
, aeson-pretty >= 0.8.5 && < 0.9
2018-04-09 11:26:35 +02:00
, base-compat >= 0.9.3 && < 0.11
2018-01-25 12:49:39 +01:00
, case-insensitive >= 1.2.0.10 && < 1.3
, control-monad-omega >= 0.3.1 && < 0.4
, hashable >= 1.2.6.1 && < 1.3
, http-media >= 0.7.1.1 && < 0.8
, http-types >= 0.12 && < 0.13
, lens >= 4.15.4 && < 4.17
2018-01-25 12:49:39 +01:00
, string-conversions >= 0.4.0.1 && < 0.5
, unordered-containers >= 0.2.8.0 && < 0.3
hs-source-dirs: src
default-language: Haskell2010
ghc-options: -Wall
2016-04-22 08:32:39 +02:00
if impl(ghc >= 8.0)
ghc-options: -Wno-redundant-constraints
2015-12-27 17:54:29 +01:00
include-dirs: include
executable greet-docs
main-is: greet.hs
hs-source-dirs: example
ghc-options: -Wall
2015-04-08 16:27:38 +02:00
build-depends:
base
, aeson
, lens
, servant
, servant-docs
, string-conversions
, text
default-language: Haskell2010
2015-04-08 16:27:38 +02:00
test-suite spec
2018-01-25 12:49:39 +01:00
default-language: Haskell2010
2015-04-08 16:27:38 +02:00
type: exitcode-stdio-1.0
main-is: Spec.hs
2015-09-23 18:26:05 +02:00
other-modules: Servant.DocsSpec
2015-04-08 16:27:38 +02:00
hs-source-dirs: test
ghc-options: -Wall
2018-01-25 12:49:39 +01:00
-- Dependencies inherited from the library. No need to specify bounds.
2015-04-08 16:27:38 +02:00
build-depends:
base
, aeson
, lens
2015-04-08 16:27:38 +02:00
, servant
, servant-docs
, string-conversions
2018-01-25 12:49:39 +01:00
-- Additonal dependencies
build-depends:
hspec >= 2.4.4 && < 2.6
2018-01-25 12:49:39 +01:00
build-tool-depends:
hspec-discover:hspec-discover >=2.4.4 && <2.6