2014-10-21 15:25:34 +02:00
|
|
|
name: servant
|
2015-07-27 22:26:49 +02:00
|
|
|
version: 0.5
|
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
|
|
|
|
.
|
2015-05-11 10:43:52 +02:00
|
|
|
You can learn about the basics in the <http://haskell-servant.github.io/tutorial 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>
|
2014-12-08 10:56:02 +01:00
|
|
|
homepage: http://haskell-servant.github.io/
|
|
|
|
Bug-reports: http://github.com/haskell-servant/servant/issues
|
2014-10-21 15:25:34 +02:00
|
|
|
license: BSD3
|
|
|
|
license-file: LICENSE
|
2014-10-29 18:51:09 +01:00
|
|
|
author: Alp Mestanogullari, Sönke Hahn, Julian K. Arni
|
2014-10-21 15:25:34 +02:00
|
|
|
maintainer: alpmestan@gmail.com
|
2014-10-30 08:47:54 +01:00
|
|
|
copyright: 2014 Zalora South East Asia Pte Ltd
|
2014-10-21 15:25:34 +02:00
|
|
|
category: Web
|
|
|
|
build-type: Simple
|
|
|
|
cabal-version: >=1.10
|
2014-11-22 13:54:24 +01:00
|
|
|
tested-with: GHC >= 7.8
|
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
|
|
|
|
|
|
|
library
|
2014-10-25 01:27:39 +02:00
|
|
|
exposed-modules:
|
|
|
|
Servant.API
|
2014-11-07 04:58:41 +01:00
|
|
|
Servant.API.Alternative
|
2014-10-25 01:27:39 +02:00
|
|
|
Servant.API.Capture
|
2015-01-08 16:24:19 +01:00
|
|
|
Servant.API.ContentTypes
|
2014-10-28 09:14:10 +01:00
|
|
|
Servant.API.Delete
|
2014-10-25 01:27:39 +02:00
|
|
|
Servant.API.Get
|
2014-12-08 12:28:11 +01:00
|
|
|
Servant.API.Header
|
2015-06-23 10:34:20 +02:00
|
|
|
Servant.API.HttpVersion
|
|
|
|
Servant.API.IsSecure
|
2015-02-10 01:06:42 +01:00
|
|
|
Servant.API.Patch
|
2014-10-25 01:27:39 +02:00
|
|
|
Servant.API.Post
|
2014-10-28 09:17:28 +01:00
|
|
|
Servant.API.Put
|
2014-11-07 04:58:41 +01:00
|
|
|
Servant.API.QueryParam
|
2014-12-28 22:56:58 +01:00
|
|
|
Servant.API.MatrixParam
|
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
|
2015-06-23 10:34:20 +02:00
|
|
|
Servant.API.Vault
|
2014-11-07 09:58:53 +01:00
|
|
|
Servant.Utils.Links
|
2014-10-21 15:25:34 +02:00
|
|
|
build-depends:
|
2014-10-28 05:55:07 +01:00
|
|
|
base >=4.7 && <5
|
2015-02-20 01:07:06 +01:00
|
|
|
, aeson >= 0.7
|
2015-02-25 12:48:15 +01:00
|
|
|
, attoparsec >= 0.12
|
2015-01-08 16:24:19 +01:00
|
|
|
, bytestring == 0.10.*
|
2015-04-13 15:12:33 +02:00
|
|
|
, bytestring-conversion == 0.3.*
|
|
|
|
, case-insensitive >= 1.2
|
2015-10-07 23:38:47 +02:00
|
|
|
, http-api-data
|
2015-02-24 10:29:00 +01:00
|
|
|
, http-media >= 0.4 && < 0.7
|
2015-01-08 16:24:19 +01:00
|
|
|
, http-types == 0.8.*
|
2015-01-13 20:38:34 +01:00
|
|
|
, text >= 1 && < 2
|
2015-06-04 15:09:01 +02:00
|
|
|
, string-conversions >= 0.3 && < 0.5
|
2015-01-29 00:07:01 +01:00
|
|
|
, network-uri >= 2.6
|
2015-06-23 10:34:20 +02:00
|
|
|
, vault >= 0.3 && <0.4
|
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
|
2014-10-25 01:27:39 +02:00
|
|
|
|
2014-10-27 07:24:23 +01:00
|
|
|
test-suite spec
|
|
|
|
type: exitcode-stdio-1.0
|
|
|
|
ghc-options:
|
2014-11-13 12:56:44 +01:00
|
|
|
-Wall -fno-warn-name-shadowing -fno-warn-missing-signatures
|
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
|
2014-10-27 07:24:23 +01:00
|
|
|
build-depends:
|
|
|
|
base == 4.*
|
2015-02-20 01:07:36 +01:00
|
|
|
, aeson
|
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-11-12 11:34:33 +01:00
|
|
|
, parsec
|
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
|
|
|
|
|
|
|
test-suite doctests
|
|
|
|
build-depends: base
|
|
|
|
, servant
|
|
|
|
, doctest
|
|
|
|
, filemanip
|
2015-05-14 13:47:39 +02:00
|
|
|
, directory
|
|
|
|
, filepath
|
2015-02-24 10:28:23 +01:00
|
|
|
type: exitcode-stdio-1.0
|
|
|
|
main-is: test/Doctests.hs
|
|
|
|
buildable: True
|
|
|
|
default-language: Haskell2010
|
|
|
|
ghc-options: -threaded
|