servant/doc/tutorial/tutorial.cabal

95 lines
2.5 KiB
Text
Raw Normal View History

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://haskell-servant.readthedocs.org/>
2016-04-21 12:22:54 +02:00
homepage: http://haskell-servant.readthedocs.org/
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
tested-with:
2018-03-15 10:19:20 +01:00
GHC==7.8.4,
GHC==7.10.3,
GHC==8.0.2,
GHC==8.2.2,
GHC==8.4.1
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:
2018-03-15 09:46:30 +01:00
base >= 4.7 && <4.12
2018-01-25 12:49:39 +01:00
, 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.4.1 && <0.5
build-tool-depends: markdown-unlit:markdown-unlit >= 0.4.1 && <0.5
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
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