on f63610a help sign in
servant/doc/tutorial/tutorial.cabal
94 lines 2.6 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.1
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 , aeson-compat
40 , attoparsec
41 , base-compat
42 , bytestring
43 , containers
44 , directory
45 , http-api-data
46 , http-client
47 , http-media
48 , http-types
49 , kan-extensions
50 , mtl
51 , string-conversions
52 , text
53 , transformers
54 , wai
55 , warp
57 -- Servant dependencies
58 build-depends:
59 servant
60 , servant-server
61 , servant-client
62 , servant-docs
64 -- Other dependencies: Lower bound around what is in the latest Stackage LTS.
65 -- Here can be exceptions if we really need features from the newer versions.
66 build-depends:
67 blaze-html >= 0.9.0.1 && < 0.10
68 , blaze-markup >= 0.8.0.0 && < 0.9
69 , cookie >= 0.4.3 && < 0.5
70 , js-jquery >= 3.2.1 && < 3.3
71 , lucid >= 2.9.9 && < 2.10
72 , mtl-compat >= 0.2.1 && < 0.3
73 , random >= 1.1 && < 1.2
74 , servant-js >= 0.9 && < 0.10
75 , time >= 1.4.2 && < 1.9
77 -- For legacy tools, we need to specify build-depends too
78 build-depends: markdown-unlit >= 0.5.0 && <0.6
79 build-tool-depends: markdown-unlit:markdown-unlit >= 0.5.0 && <0.6
81test-suite spec
82 type: exitcode-stdio-1.0
83 ghc-options: -Wall
84 default-language: Haskell2010
85 hs-source-dirs: test
86 main-is: Spec.hs
87 other-modules: JavascriptSpec
88 build-tool-depends:
89 hspec-discover:hspec-discover
90 build-depends: base
91 , tutorial
92 , hspec
93 , hspec-wai
94 , string-conversions