servant/doc/tutorial/tutorial.cabal

88 lines
2.3 KiB
Text
Raw Permalink Normal View History

cabal-version: 2.2
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
<http://docs.servant.dev/>
homepage: http://docs.servant.dev/
2018-01-05 09:33:10 +01:00
category: Servant, Documentation
license: BSD-3-Clause
2016-01-27 22:17:59 +01:00
license-file: LICENSE
author: Servant Contributors
maintainer: haskell-servant-maintainers@googlegroups.com
build-type: Simple
tested-with:
GHC==8.6.5
GHC==8.8.3, GHC ==8.10.7
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
exposed-modules: ApiType
, 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:
2019-09-11 09:34:29 +02:00
base >= 4.7 && <5
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.3.1 && < 3.4
, lucid >= 2.9.11 && < 2.10
2021-04-05 16:35:39 +02:00
, random >= 1.1 && < 1.3
2018-01-25 12:49:39 +01:00
, servant-js >= 0.9 && < 0.10
2021-04-05 16:35:39 +02:00
, time >= 1.6.0.1 && < 1.13
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
test-suite spec
type: exitcode-stdio-1.0
2016-04-18 12:07:23 +02:00
ghc-options: -Wall
default-language: Haskell2010
hs-source-dirs: test
main-is: Spec.hs
2016-07-09 14:26:56 +02:00
other-modules: JavascriptSpec
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