on ec0cd8a 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://docs.servant.dev/>
7homepage: http://docs.servant.dev/
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.5
20 GHC==8.8.1
21extra-source-files:
22 static/index.html
23 static/ui.js
25library
26 default-language: Haskell2010
27 ghc-options: -Wall -pgmL markdown-unlit
28 exposed-modules: ApiType
29 , Authentication
30 , Client
31 , Docs
32 , Javascript
33 , Server
35 -- Packages `servant` depends on.
36 -- We don't need to specify bounds here as this package is never released.
37 build-depends:
38 base >= 4.7 && <5
39 , aeson
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.3.1 && < 3.4
70 , lucid >= 2.9.11 && < 2.10
71 , random >= 1.1 && < 1.2
72 , servant-js >= 0.9 && < 0.10
73 , time >= 1.6.0.1 && < 1.10
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