2014-10-21 15:25:34 +02:00
|
|
|
name: servant
|
2017-05-14 20:41:39 +02:00
|
|
|
version: 0.11
|
2014-12-10 16:11:57 +01:00
|
|
|
synopsis: A family of combinators for defining webservices APIs
|
2014-12-08 10:56:02 +01:00
|
|
|
description:
|
|
|
|
A family of combinators for defining webservices APIs and serving them
|
|
|
|
.
|
2016-04-21 12:22:54 +02:00
|
|
|
You can learn about the basics in the <http://haskell-servant.readthedocs.org/en/stable/tutorial/index.html tutorial>.
|
2014-12-08 10:56:02 +01:00
|
|
|
.
|
2015-04-20 16:00:51 +02:00
|
|
|
<https://github.com/haskell-servant/servant/blob/master/servant/CHANGELOG.md CHANGELOG>
|
2016-04-21 12:22:54 +02:00
|
|
|
homepage: http://haskell-servant.readthedocs.org/
|
2014-12-08 10:56:02 +01:00
|
|
|
Bug-reports: http://github.com/haskell-servant/servant/issues
|
2014-10-21 15:25:34 +02:00
|
|
|
license: BSD3
|
|
|
|
license-file: LICENSE
|
2016-01-20 16:58:29 +01:00
|
|
|
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
|
2017-01-16 08:06:22 +01:00
|
|
|
build-type: Custom
|
2014-10-21 15:25:34 +02:00
|
|
|
cabal-version: >=1.10
|
2014-11-22 13:54:24 +01:00
|
|
|
tested-with: GHC >= 7.8
|
2016-04-16 15:51:38 +02:00
|
|
|
extra-source-files:
|
|
|
|
include/*.h
|
|
|
|
CHANGELOG.md
|
2014-12-08 10:56:02 +01:00
|
|
|
source-repository head
|
|
|
|
type: git
|
|
|
|
location: http://github.com/haskell-servant/servant.git
|
2014-10-21 15:25:34 +02:00
|
|
|
|
2017-01-16 08:06:22 +01:00
|
|
|
custom-setup
|
|
|
|
setup-depends:
|
2017-05-15 14:52:22 +02:00
|
|
|
base >= 4 && <5,
|
|
|
|
Cabal,
|
|
|
|
cabal-doctest >= 1.0.2 && <1.1
|
2017-01-16 08:06:22 +01:00
|
|
|
|
2014-10-21 15:25:34 +02:00
|
|
|
library
|
2014-10-25 01:27:39 +02:00
|
|
|
exposed-modules:
|
|
|
|
Servant.API
|
2014-11-07 04:58:41 +01:00
|
|
|
Servant.API.Alternative
|
2016-02-17 19:56:15 +01:00
|
|
|
Servant.API.BasicAuth
|
2014-10-25 01:27:39 +02:00
|
|
|
Servant.API.Capture
|
2015-01-08 16:24:19 +01:00
|
|
|
Servant.API.ContentTypes
|
2017-06-08 16:35:24 +02:00
|
|
|
Servant.API.Description
|
2017-05-16 10:18:16 +02:00
|
|
|
Servant.API.Empty
|
2016-03-06 22:23:55 +01:00
|
|
|
Servant.API.Experimental.Auth
|
2014-12-08 12:28:11 +01:00
|
|
|
Servant.API.Header
|
2015-06-23 10:34:20 +02:00
|
|
|
Servant.API.HttpVersion
|
2016-01-16 19:17:46 +01:00
|
|
|
Servant.API.Internal.Test.ComprehensiveAPI
|
2015-06-23 10:34:20 +02:00
|
|
|
Servant.API.IsSecure
|
2014-11-07 04:58:41 +01:00
|
|
|
Servant.API.QueryParam
|
2014-10-27 11:24:20 +01:00
|
|
|
Servant.API.Raw
|
2015-06-23 10:34:20 +02:00
|
|
|
Servant.API.RemoteHost
|
2014-11-07 04:58:41 +01:00
|
|
|
Servant.API.ReqBody
|
2015-04-13 15:12:33 +02:00
|
|
|
Servant.API.ResponseHeaders
|
2014-10-25 01:27:39 +02:00
|
|
|
Servant.API.Sub
|
2016-01-20 15:39:18 +01:00
|
|
|
Servant.API.TypeLevel
|
2015-06-23 10:34:20 +02:00
|
|
|
Servant.API.Vault
|
2015-11-27 02:05:34 +01:00
|
|
|
Servant.API.Verbs
|
2016-02-28 23:23:32 +01:00
|
|
|
Servant.API.WithNamedContext
|
2014-11-07 09:58:53 +01:00
|
|
|
Servant.Utils.Links
|
2016-04-21 13:31:51 +02:00
|
|
|
Servant.Utils.Enter
|
2014-10-21 15:25:34 +02:00
|
|
|
build-depends:
|
2017-06-07 15:40:01 +02:00
|
|
|
base >= 4.7 && < 4.11
|
2016-07-06 21:55:26 +02:00
|
|
|
, base-compat >= 0.9 && < 0.10
|
2017-04-17 20:35:20 +02:00
|
|
|
, aeson >= 0.7 && < 1.3
|
2016-07-06 21:55:26 +02:00
|
|
|
, attoparsec >= 0.12 && < 0.14
|
|
|
|
, bytestring >= 0.10 && < 0.11
|
|
|
|
, case-insensitive >= 1.2 && < 1.3
|
2016-09-02 02:45:05 +02:00
|
|
|
, http-api-data >= 0.3 && < 0.4
|
2017-06-27 17:16:10 +02:00
|
|
|
, http-media >= 0.4 && < 0.8
|
2016-07-06 21:55:26 +02:00
|
|
|
, http-types >= 0.8 && < 0.10
|
2016-11-15 21:33:23 +01:00
|
|
|
, natural-transformation >= 0.4 && < 0.5
|
2016-07-06 21:55:26 +02:00
|
|
|
, mtl >= 2.0 && < 2.3
|
2017-05-24 06:51:07 +02:00
|
|
|
, mmorph >= 1 && < 1.2
|
2015-12-02 21:48:12 +01:00
|
|
|
, tagged >= 0.7.3 && < 0.9
|
2016-07-06 21:55:26 +02:00
|
|
|
, text >= 1 && < 1.3
|
|
|
|
, string-conversions >= 0.3 && < 0.5
|
|
|
|
, network-uri >= 2.6 && < 2.7
|
|
|
|
, vault >= 0.3 && < 0.4
|
2016-10-11 18:35:36 +02:00
|
|
|
|
|
|
|
if !impl(ghc >= 8.0)
|
|
|
|
build-depends:
|
|
|
|
semigroups >= 0.16 && < 0.19
|
|
|
|
|
2014-10-25 01:27:39 +02:00
|
|
|
hs-source-dirs: src
|
|
|
|
default-language: Haskell2010
|
2015-04-20 19:52:29 +02:00
|
|
|
other-extensions: CPP
|
|
|
|
, ConstraintKinds
|
2015-02-18 12:07:54 +01:00
|
|
|
, DataKinds
|
2015-02-18 10:00:34 +01:00
|
|
|
, DeriveDataTypeable
|
2015-02-18 12:07:54 +01:00
|
|
|
, FlexibleInstances
|
2015-02-18 10:00:34 +01:00
|
|
|
, FunctionalDependencies
|
2015-02-18 12:07:54 +01:00
|
|
|
, GADTs
|
2015-02-18 10:00:34 +01:00
|
|
|
, KindSignatures
|
|
|
|
, MultiParamTypeClasses
|
2015-02-18 12:07:54 +01:00
|
|
|
, OverlappingInstances
|
|
|
|
, OverloadedStrings
|
2015-02-18 10:00:34 +01:00
|
|
|
, PolyKinds
|
|
|
|
, QuasiQuotes
|
2015-02-18 12:07:54 +01:00
|
|
|
, RecordWildCards
|
2015-02-18 10:00:34 +01:00
|
|
|
, ScopedTypeVariables
|
|
|
|
, TemplateHaskell
|
|
|
|
, TypeFamilies
|
|
|
|
, TypeOperators
|
2015-02-18 12:07:54 +01:00
|
|
|
, TypeSynonymInstances
|
2015-02-18 10:00:34 +01:00
|
|
|
, UndecidableInstances
|
2014-12-08 10:56:02 +01:00
|
|
|
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
|
2014-10-25 01:27:39 +02:00
|
|
|
|
2014-10-27 07:24:23 +01:00
|
|
|
test-suite spec
|
|
|
|
type: exitcode-stdio-1.0
|
2016-04-18 12:07:23 +02:00
|
|
|
ghc-options: -Wall
|
2014-10-27 07:24:23 +01:00
|
|
|
default-language: Haskell2010
|
2014-10-28 09:04:27 +01:00
|
|
|
hs-source-dirs: test
|
2014-10-27 07:24:23 +01:00
|
|
|
main-is: Spec.hs
|
2015-09-23 18:26:05 +02:00
|
|
|
other-modules:
|
|
|
|
Servant.API.ContentTypesSpec
|
|
|
|
Servant.API.ResponseHeadersSpec
|
|
|
|
Servant.Utils.LinksSpec
|
2017-05-15 18:45:14 +02:00
|
|
|
Servant.Utils.EnterSpec
|
2014-10-27 07:24:23 +01:00
|
|
|
build-depends:
|
|
|
|
base == 4.*
|
2016-05-11 10:51:39 +02:00
|
|
|
, base-compat
|
2015-02-20 01:07:36 +01:00
|
|
|
, aeson
|
2016-10-12 06:28:43 +02:00
|
|
|
, aeson-compat >=0.3.3 && <0.4
|
2015-02-25 12:48:15 +01:00
|
|
|
, attoparsec
|
2015-02-20 11:13:10 +01:00
|
|
|
, bytestring
|
2014-11-14 09:14:08 +01:00
|
|
|
, hspec == 2.*
|
2014-10-31 14:50:57 +01:00
|
|
|
, QuickCheck
|
2015-02-20 16:54:45 +01:00
|
|
|
, quickcheck-instances
|
2014-10-28 09:04:27 +01:00
|
|
|
, servant
|
2014-10-27 07:24:23 +01:00
|
|
|
, string-conversions
|
|
|
|
, text
|
2015-02-23 06:54:10 +01:00
|
|
|
, url
|
2015-02-24 10:28:23 +01:00
|
|
|
|
2016-10-11 19:21:40 +02:00
|
|
|
if !impl(ghc >= 8.0)
|
|
|
|
build-depends:
|
|
|
|
semigroups >= 0.16 && < 0.19
|
|
|
|
|
2015-02-24 10:28:23 +01:00
|
|
|
test-suite doctests
|
|
|
|
build-depends: base
|
|
|
|
, servant
|
|
|
|
, doctest
|
|
|
|
, filemanip
|
2015-05-14 13:47:39 +02:00
|
|
|
, directory
|
|
|
|
, filepath
|
2017-01-16 10:09:41 +01:00
|
|
|
, hspec
|
2015-02-24 10:28:23 +01:00
|
|
|
type: exitcode-stdio-1.0
|
2017-01-16 08:06:22 +01:00
|
|
|
main-is: test/doctests.hs
|
2015-02-24 10:28:23 +01:00
|
|
|
buildable: True
|
|
|
|
default-language: Haskell2010
|
2016-04-18 12:07:23 +02:00
|
|
|
ghc-options: -Wall -threaded
|
2017-05-15 14:52:22 +02:00
|
|
|
if impl(ghc >= 8.2)
|
|
|
|
x-doctest-options: -fdiagnostics-color=never
|
2015-12-27 17:54:29 +01:00
|
|
|
include-dirs: include
|
2017-05-15 14:52:22 +02:00
|
|
|
x-doctest-source-dirs: test
|
|
|
|
x-doctest-modules: Servant.Utils.LinksSpec
|