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