2016-01-27 22:17:59 +01:00
|
|
|
name: tutorial
|
2017-01-25 13:59:13 +01:00
|
|
|
version: 0.10
|
2016-01-27 22:17:59 +01:00
|
|
|
synopsis: The servant tutorial
|
2018-01-05 09:33:10 +01:00
|
|
|
description:
|
|
|
|
The servant tutorial can be found at
|
2019-03-02 10:08:03 +01:00
|
|
|
<http://docs.servant.dev/>
|
|
|
|
homepage: http://docs.servant.dev/
|
2018-01-05 09:33:10 +01:00
|
|
|
category: Servant, Documentation
|
2016-01-27 22:17:59 +01:00
|
|
|
license: BSD3
|
|
|
|
license-file: LICENSE
|
|
|
|
author: Servant Contributors
|
|
|
|
maintainer: haskell-servant-maintainers@googlegroups.com
|
|
|
|
build-type: Simple
|
|
|
|
cabal-version: >=1.10
|
2017-10-22 13:13:18 +02:00
|
|
|
tested-with:
|
|
|
|
GHC==8.0.2
|
2017-12-10 12:29:37 +01:00
|
|
|
GHC==8.2.2
|
2018-10-15 17:15:52 +02:00
|
|
|
GHC==8.4.4
|
2019-05-28 16:14:14 +02:00
|
|
|
GHC==8.6.5
|
2017-10-22 13:13:18 +02:00
|
|
|
extra-source-files:
|
|
|
|
static/index.html
|
|
|
|
static/ui.js
|
2016-01-27 22:17:59 +01:00
|
|
|
|
|
|
|
library
|
2018-01-25 12:49:39 +01:00
|
|
|
default-language: Haskell2010
|
|
|
|
ghc-options: -Wall -pgmL markdown-unlit
|
2016-01-27 22:46:28 +01:00
|
|
|
exposed-modules: ApiType
|
2016-03-26 13:56:45 +01:00
|
|
|
, Authentication
|
2016-01-28 13:22:20 +01:00
|
|
|
, Client
|
2016-01-28 15:46:56 +01:00
|
|
|
, Docs
|
2016-01-28 18:44:37 +01:00
|
|
|
, Javascript
|
2016-01-28 14:12:24 +01:00
|
|
|
, Server
|
2018-01-25 12:49:39 +01:00
|
|
|
|
|
|
|
-- Packages `servant` depends on.
|
|
|
|
-- We don't need to specify bounds here as this package is never released.
|
|
|
|
build-depends:
|
2018-10-07 22:02:37 +02:00
|
|
|
base >= 4.7 && <4.13
|
2018-01-25 12:49:39 +01:00
|
|
|
, aeson
|
|
|
|
, attoparsec
|
|
|
|
, base-compat
|
|
|
|
, bytestring
|
|
|
|
, containers
|
|
|
|
, directory
|
|
|
|
, http-api-data
|
|
|
|
, http-client
|
|
|
|
, http-media
|
|
|
|
, http-types
|
|
|
|
, mtl
|
|
|
|
, string-conversions
|
|
|
|
, text
|
|
|
|
, transformers
|
|
|
|
, wai
|
|
|
|
, warp
|
|
|
|
|
|
|
|
-- Servant dependencies
|
|
|
|
build-depends:
|
|
|
|
servant
|
|
|
|
, servant-server
|
|
|
|
, servant-client
|
|
|
|
, servant-docs
|
|
|
|
|
|
|
|
-- 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:
|
|
|
|
blaze-html >= 0.9.0.1 && < 0.10
|
|
|
|
, blaze-markup >= 0.8.0.0 && < 0.9
|
|
|
|
, cookie >= 0.4.3 && < 0.5
|
|
|
|
, js-jquery >= 3.2.1 && < 3.3
|
2018-11-09 18:04:47 +01:00
|
|
|
, lucid >= 2.9.11 && < 2.10
|
2018-01-25 12:49:39 +01:00
|
|
|
, random >= 1.1 && < 1.2
|
|
|
|
, servant-js >= 0.9 && < 0.10
|
2018-11-09 18:04:47 +01:00
|
|
|
, time >= 1.6.0.1 && < 1.9
|
2018-01-25 12:49:39 +01:00
|
|
|
|
|
|
|
-- For legacy tools, we need to specify build-depends too
|
2018-07-04 21:59:43 +02:00
|
|
|
build-depends: markdown-unlit >= 0.5.0 && <0.6
|
|
|
|
build-tool-depends: markdown-unlit:markdown-unlit >= 0.5.0 && <0.6
|
2016-03-12 09:03:57 +01:00
|
|
|
|
|
|
|
test-suite spec
|
|
|
|
type: exitcode-stdio-1.0
|
2016-04-18 12:07:23 +02:00
|
|
|
ghc-options: -Wall
|
2016-03-12 09:03:57 +01:00
|
|
|
default-language: Haskell2010
|
|
|
|
hs-source-dirs: test
|
|
|
|
main-is: Spec.hs
|
2016-07-09 14:26:56 +02:00
|
|
|
other-modules: JavascriptSpec
|
2017-10-22 13:13:18 +02:00
|
|
|
build-tool-depends:
|
|
|
|
hspec-discover:hspec-discover
|
2018-01-25 12:49:39 +01:00
|
|
|
build-depends: base
|
2016-03-18 15:09:38 +01:00
|
|
|
, tutorial
|
|
|
|
, hspec
|
|
|
|
, hspec-wai
|
|
|
|
, string-conversions
|