on c07f86b help sign in
servant/doc/tutorial/tutorial.cabal
92 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.3
19extra-source-files:
20 static/index.html
21 static/ui.js
23library
24 default-language: Haskell2010
25 ghc-options: -Wall -pgmL markdown-unlit
26 exposed-modules: ApiType
27 , Authentication
28 , Client
29 , Docs
30 , Javascript
31 , Server
33 -- Packages `servant` depends on.
34 -- We don't need to specify bounds here as this package is never released.
35 build-depends:
36 base >= 4.7 && <4.12
37 , aeson
38 , aeson-compat
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.9 && < 2.10
70 , mtl-compat >= 0.2.1 && < 0.3
71 , random >= 1.1 && < 1.2
72 , servant-js >= 0.9 && < 0.10
73 , time >= 1.4.2 && < 1.9
75 -- For legacy tools, we need to specify build-depends too
76 build-depends: markdown-unlit >= 0.5.0 && <0.6
77 build-tool-depends: markdown-unlit:markdown-unlit >= 0.5.0 && <0.6
79test-suite spec
80 type: exitcode-stdio-1.0
81 ghc-options: -Wall
82 default-language: Haskell2010
83 hs-source-dirs: test
84 main-is: Spec.hs
85 other-modules: JavascriptSpec
86 build-tool-depends:
87 hspec-discover:hspec-discover
88 build-depends: base
89 , tutorial
90 , hspec
91 , hspec-wai
92 , string-conversions