on master help sign in
servant/doc/tutorial/tutorial.cabal
87 lines 2.4 kB history raw
1cabal-version: 2.2
2name: tutorial
3version: 0.10
4synopsis: The servant tutorial
5description:
6 The servant tutorial can be found at
7 <http://docs.servant.dev/>
8homepage: http://docs.servant.dev/
9category: Servant, Documentation
10license: BSD-3-Clause
11license-file: LICENSE
12author: Servant Contributors
13maintainer: haskell-servant-maintainers@googlegroups.com
14build-type: Simple
15tested-with:
16 GHC==8.6.5
17 GHC==8.8.3, GHC ==8.10.7
18extra-source-files:
19 static/index.html
20 static/ui.js
22library
23 default-language: Haskell2010
24 ghc-options: -Wall -pgmL markdown-unlit
25 exposed-modules: ApiType
26 , Authentication
27 , Client
28 , Docs
29 , Javascript
30 , Server
32 -- Packages `servant` depends on.
33 -- We don't need to specify bounds here as this package is never released.
34 build-depends:
35 base >= 4.7 && <5
36 , aeson
37 , attoparsec
38 , base-compat
39 , bytestring
40 , containers
41 , directory
42 , http-api-data
43 , http-client
44 , http-media
45 , http-types
46 , mtl
47 , string-conversions
48 , text
49 , transformers
50 , wai
51 , warp
53 -- Servant dependencies
54 build-depends:
55 servant
56 , servant-server
57 , servant-client
58 , servant-docs
60 -- Other dependencies: Lower bound around what is in the latest Stackage LTS.
61 -- Here can be exceptions if we really need features from the newer versions.
62 build-depends:
63 blaze-html >= 0.9.0.1 && < 0.10
64 , blaze-markup >= 0.8.0.0 && < 0.9
65 , cookie >= 0.4.3 && < 0.5
66 , js-jquery >= 3.3.1 && < 3.4
67 , lucid >= 2.9.11 && < 2.12
68 , random >= 1.1 && < 1.3
69 , servant-js >= 0.9 && < 0.10
70 , time >= 1.6.0.1 && < 1.13
72 -- For legacy tools, we need to specify build-depends too
73 build-depends: markdown-unlit >= 0.5.0 && <0.6
74 build-tool-depends: markdown-unlit:markdown-unlit >= 0.5.0 && <0.6
76test-suite spec
77 type: exitcode-stdio-1.0
78 ghc-options: -Wall
79 default-language: Haskell2010
80 hs-source-dirs: test
81 main-is: Spec.hs
82 other-modules: JavascriptSpec
83 build-depends: base
84 , tutorial
85 , hspec
86 , hspec-wai
87 , string-conversions