2022-01-04 22:06:23 +01:00
|
|
|
cabal-version: 2.2
|
2014-11-27 18:28:01 +01:00
|
|
|
name: servant-docs
|
2022-02-01 12:22:41 +01:00
|
|
|
version: 0.12
|
2018-11-12 21:04:29 +01:00
|
|
|
|
2014-12-08 11:25:52 +01:00
|
|
|
synopsis: generate API docs for your servant webservice
|
2018-11-12 21:04:29 +01:00
|
|
|
category: Servant, Web
|
2014-12-08 11:25:52 +01:00
|
|
|
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>
|
2018-11-12 21:04:29 +01:00
|
|
|
|
2019-03-02 10:08:03 +01:00
|
|
|
homepage: http://docs.servant.dev/
|
2018-11-12 21:04:29 +01:00
|
|
|
bug-reports: http://github.com/haskell-servant/servant/issues
|
2021-10-31 22:37:56 +01:00
|
|
|
license: BSD-3-Clause
|
2014-11-27 18:28:01 +01:00
|
|
|
license-file: LICENSE
|
2016-01-20 16:58:29 +01:00
|
|
|
author: Servant Contributors
|
|
|
|
maintainer: haskell-servant-maintainers@googlegroups.com
|
2019-02-27 17:13:35 +01:00
|
|
|
copyright: 2014-2016 Zalora South East Asia Pte Ltd, 2016-2019 Servant Contributors
|
2014-11-27 18:28:01 +01:00
|
|
|
build-type: Simple
|
2021-10-02 12:56:23 +02:00
|
|
|
tested-with: GHC ==8.6.5 || ==8.8.4 || ==8.10.2 || ==9.0.1
|
2018-11-12 21:04:29 +01:00
|
|
|
|
2015-01-04 17:18:40 +01:00
|
|
|
extra-source-files:
|
|
|
|
CHANGELOG.md
|
|
|
|
README.md
|
2018-11-08 14:57:04 +01:00
|
|
|
golden/comprehensive.md
|
|
|
|
|
2014-12-08 11:25:52 +01:00
|
|
|
source-repository head
|
|
|
|
type: git
|
2015-04-20 15:55:41 +02:00
|
|
|
location: http://github.com/haskell-servant/servant.git
|
2014-11-27 18:28:01 +01:00
|
|
|
|
|
|
|
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
|
2014-11-27 18:28:01 +01:00
|
|
|
build-depends:
|
2021-04-05 16:35:39 +02:00
|
|
|
base >= 4.9 && < 4.16
|
2020-12-16 11:04:49 +01:00
|
|
|
, bytestring >= 0.10.8.1 && < 0.12
|
2022-02-06 23:12:25 +01:00
|
|
|
, text >= 1.2.3.0 && < 2.1
|
2018-01-25 12:49:39 +01:00
|
|
|
|
|
|
|
-- Servant dependencies
|
|
|
|
build-depends:
|
2022-01-31 15:13:47 +01:00
|
|
|
servant >= 0.18 && <0.20
|
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:
|
2021-11-18 14:10:45 +01:00
|
|
|
aeson >= 1.4.1.0 && < 3
|
2018-01-25 12:49:39 +01:00
|
|
|
, aeson-pretty >= 0.8.5 && < 0.9
|
2019-09-11 09:34:29 +02:00
|
|
|
, base-compat >= 0.10.5 && < 0.12
|
2018-11-09 18:04:47 +01:00
|
|
|
, case-insensitive >= 1.2.0.11 && < 1.3
|
2022-02-06 23:12:25 +01:00
|
|
|
, hashable >= 1.2.7.0 && < 1.5
|
2019-04-16 11:45:13 +02:00
|
|
|
, http-media >= 0.7.1.3 && < 0.9
|
2018-11-09 18:04:47 +01:00
|
|
|
, http-types >= 0.12.2 && < 0.13
|
2022-02-06 23:12:25 +01:00
|
|
|
, lens >= 4.17 && < 5.2
|
2018-01-25 12:49:39 +01:00
|
|
|
, string-conversions >= 0.4.0.1 && < 0.5
|
2019-09-15 16:19:56 +02:00
|
|
|
, universe-base >= 1.1.1 && < 1.2
|
2018-11-09 18:04:47 +01:00
|
|
|
, unordered-containers >= 0.2.9.0 && < 0.3
|
2018-01-25 12:49:39 +01:00
|
|
|
|
2014-11-27 18:28:01 +01:00
|
|
|
hs-source-dirs: src
|
|
|
|
default-language: Haskell2010
|
2018-07-11 00:39:38 +02:00
|
|
|
ghc-options: -Wall -Wno-redundant-constraints
|
2014-11-27 18:28:01 +01:00
|
|
|
|
|
|
|
executable greet-docs
|
|
|
|
main-is: greet.hs
|
|
|
|
hs-source-dirs: example
|
2014-12-08 11:25:52 +01:00
|
|
|
ghc-options: -Wall
|
2015-04-08 16:27:38 +02:00
|
|
|
build-depends:
|
|
|
|
base
|
|
|
|
, aeson
|
|
|
|
, lens
|
|
|
|
, servant
|
|
|
|
, servant-docs
|
|
|
|
, string-conversions
|
|
|
|
, text
|
2014-11-27 18:28:01 +01:00
|
|
|
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
|
2018-11-08 14:35:48 +01:00
|
|
|
, base-compat
|
2015-04-08 16:27:38 +02:00
|
|
|
, aeson
|
2015-06-16 22:38:14 +02:00
|
|
|
, lens
|
2015-04-08 16:27:38 +02:00
|
|
|
, servant
|
|
|
|
, servant-docs
|
|
|
|
, string-conversions
|
2018-01-25 12:49:39 +01:00
|
|
|
|
2020-06-06 06:43:51 +02:00
|
|
|
-- Additional dependencies
|
2018-01-25 12:49:39 +01:00
|
|
|
build-depends:
|
2021-08-21 19:15:02 +02:00
|
|
|
tasty >= 1.1.0.4 && < 1.5,
|
2018-11-08 14:35:48 +01:00
|
|
|
tasty-golden >= 2.3.2 && < 2.4,
|
|
|
|
tasty-hunit >= 0.10.0.1 && < 0.11,
|
|
|
|
transformers >= 0.5.2.0 && < 0.6
|