on c767efe help sign in
servant/doc/tutorial/tutorial.cabal
93 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==7.8.4
17 GHC==7.10.3
18 GHC==8.0.2
19 GHC==8.2.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.11
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 , mtl
50 , string-conversions
51 , text
52 , transformers
53 , wai
54 , warp
56 -- Servant dependencies
57 build-depends:
58 servant
59 , servant-server
60 , servant-client
61 , servant-docs
63 -- Other dependencies: Lower bound around what is in the latest Stackage LTS.
64 -- Here can be exceptions if we really need features from the newer versions.
65 build-depends:
66 blaze-html >= 0.9.0.1 && < 0.10
67 , blaze-markup >= 0.8.0.0 && < 0.9
68 , cookie >= 0.4.3 && < 0.5
69 , js-jquery >= 3.2.1 && < 3.3
70 , lucid >= 2.9.9 && < 2.10
71 , mtl-compat >= 0.2.1 && < 0.3
72 , random >= 1.1 && < 1.2
73 , servant-js >= 0.9 && < 0.10
74 , time >= 1.4.2 && < 1.9
76 -- For legacy tools, we need to specify build-depends too
77 build-depends: markdown-unlit >= 0.4.1 && <0.5
78 build-tool-depends: markdown-unlit:markdown-unlit >= 0.4.1 && <0.5
80test-suite spec
81 type: exitcode-stdio-1.0
82 ghc-options: -Wall
83 default-language: Haskell2010
84 hs-source-dirs: test
85 main-is: Spec.hs
86 other-modules: JavascriptSpec
87 build-tool-depends:
88 hspec-discover:hspec-discover
89 build-depends: base
90 , tutorial
91 , hspec
92 , hspec-wai
93 , string-conversions