servant/doc/tutorial/tutorial.cabal
Oleg Grenrus 8feda81fcd Separate Servant.Client.Streaming
- as a bonus only `servant-client` depends on `kan-extensions`
2018-11-08 17:58:21 +02:00

93 lines
2.5 KiB
Text

name: tutorial
version: 0.10
synopsis: The servant tutorial
description:
The servant tutorial can be found at
<http://haskell-servant.readthedocs.org/>
homepage: http://haskell-servant.readthedocs.org/
category: Servant, Documentation
license: BSD3
license-file: LICENSE
author: Servant Contributors
maintainer: haskell-servant-maintainers@googlegroups.com
build-type: Simple
cabal-version: >=1.10
tested-with:
GHC==8.0.2
GHC==8.2.2
GHC==8.4.4
GHC==8.6.1
extra-source-files:
static/index.html
static/ui.js
library
default-language: Haskell2010
ghc-options: -Wall -pgmL markdown-unlit
exposed-modules: ApiType
, Authentication
, Client
, Docs
, Javascript
, Server
-- Packages `servant` depends on.
-- We don't need to specify bounds here as this package is never released.
build-depends:
base >= 4.7 && <4.13
, aeson
, aeson-compat
, 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
, lucid >= 2.9.9 && < 2.10
, mtl-compat >= 0.2.1 && < 0.3
, random >= 1.1 && < 1.2
, servant-js >= 0.9 && < 0.10
, time >= 1.4.2 && < 1.9
-- For legacy tools, we need to specify build-depends too
build-depends: markdown-unlit >= 0.5.0 && <0.6
build-tool-depends: markdown-unlit:markdown-unlit >= 0.5.0 && <0.6
test-suite spec
type: exitcode-stdio-1.0
ghc-options: -Wall
default-language: Haskell2010
hs-source-dirs: test
main-is: Spec.hs
other-modules: JavascriptSpec
build-tool-depends:
hspec-discover:hspec-discover
build-depends: base
, tutorial
, hspec
, hspec-wai
, string-conversions