Merge pull request #10599 from cabalism/typo/depency
[cabal.git] / Cabal-tests / tests / ParserTests / regressions / haddock-api-2.18.1-check.cabal
blobe4495d5116ac0e035596ba67ac7525a6b061f3a0
1 name:                 haddock-api
2 version:              2.18.1
3 synopsis:             A documentation-generation tool for Haskell libraries
4 description:          Haddock is a documentation-generation tool for Haskell
5                       libraries
6 license:              BSD3
7 license-file:         LICENSE
8 author:               Simon Marlow, David Waern
9 maintainer:           Alex Biehl <alexbiehl@gmail.com>, Simon Hengel <sol@typeful.net>, Mateusz Kowalczyk <fuuzetsu@fuuzetsu.co.uk>
10 homepage:             http://www.haskell.org/haddock/
11 bug-reports:          https://github.com/haskell/haddock/issues
12 copyright:            (c) Simon Marlow, David Waern
13 category:             Documentation
14 build-type:           Simple
15 cabal-version:        >= 1.10
17 extra-source-files:
18   CHANGES.md
20 data-dir:
21   resources
22 data-files:
23   html/solarized.css
24   html/haddock-util.js
25   html/highlight.js
26   html/Classic.theme/haskell_icon.gif
27   html/Classic.theme/minus.gif
28   html/Classic.theme/plus.gif
29   html/Classic.theme/xhaddock.css
30   html/Ocean.std-theme/hslogo-16.png
31   html/Ocean.std-theme/minus.gif
32   html/Ocean.std-theme/ocean.css
33   html/Ocean.std-theme/plus.gif
34   html/Ocean.std-theme/synopsis.png
35   latex/haddock.sty
37 library
38   default-language: Haskell2010
40   -- this package typically supports only single major versions
41   build-depends: base            ^>= 4.10.0
42                , Cabal           ^>= 2.0.0
43                , ghc             ^>= 8.2
44                , ghc-paths       ^>= 0.1.0.9
45                , haddock-library == 1.4.4.*
46                , xhtml           ^>= 3000.2.2
48   -- Versions for the dependencies below are transitively pinned by
49   -- the non-reinstallable `ghc` package and hence need no version
50   -- bounds
51   build-depends: array
52                , bytestring
53                , containers
54                , deepseq
55                , directory
56                , filepath
57                , ghc-boot
58                , transformers
60   hs-source-dirs: src
62   ghc-options: -funbox-strict-fields -Wall -fwarn-tabs -O2
63   ghc-options: -Wall
64   if impl(ghc >= 8.0)
65     ghc-options: -Wcompat -Wnoncanonical-monad-instances -Wnoncanonical-monadfail-instances
67   exposed-modules:
68     Documentation.Haddock
70   other-modules:
71     Haddock
72     Haddock.Interface
73     Haddock.Interface.Rename
74     Haddock.Interface.Create
75     Haddock.Interface.AttachInstances
76     Haddock.Interface.LexParseRn
77     Haddock.Interface.ParseModuleHeader
78     Haddock.Interface.Specialize
79     Haddock.Parser
80     Haddock.Utils
81     Haddock.Backends.Xhtml
82     Haddock.Backends.Xhtml.Decl
83     Haddock.Backends.Xhtml.DocMarkup
84     Haddock.Backends.Xhtml.Layout
85     Haddock.Backends.Xhtml.Names
86     Haddock.Backends.Xhtml.Themes
87     Haddock.Backends.Xhtml.Types
88     Haddock.Backends.Xhtml.Utils
89     Haddock.Backends.LaTeX
90     Haddock.Backends.HaddockDB
91     Haddock.Backends.Hoogle
92     Haddock.Backends.Hyperlinker
93     Haddock.Backends.Hyperlinker.Ast
94     Haddock.Backends.Hyperlinker.Parser
95     Haddock.Backends.Hyperlinker.Renderer
96     Haddock.Backends.Hyperlinker.Types
97     Haddock.Backends.Hyperlinker.Utils
98     Haddock.ModuleTree
99     Haddock.Types
100     Haddock.Doc
101     Haddock.Version
102     Haddock.InterfaceFile
103     Haddock.Options
104     Haddock.GhcUtils
105     Haddock.Syb
106     Haddock.Convert
107     Paths_haddock_api
109   autogen-modules:
110     Paths_haddock_api
112 test-suite spec
113   type:             exitcode-stdio-1.0
114   default-language: Haskell2010
115   main-is:          Spec.hs
116   ghc-options: -Wall
118   hs-source-dirs:
119       test
120     , src
122   -- NB: We only use a small subset of lib:haddock-api here, which
123   --     explains why this component has a smaller build-depends set
124   other-modules:
125     Haddock.Backends.Hyperlinker.ParserSpec
126     Haddock.Backends.Hyperlinker.Parser
127     Haddock.Backends.Hyperlinker.Types
129   build-depends:
130       ghc         ^>= 8.2
131     , hspec       ^>= 2.4.4
132     , QuickCheck  ^>= 2.10
134   -- Versions for the dependencies below are transitively pinned by
135   -- the non-reinstallable `ghc` package and hence need no version
136   -- bounds
137   build-depends:
138       base
139     , containers
141   build-tool-depends:
142     hspec-discover:hspec-discover ^>= 2.4.4
144 source-repository head
145   type:     git
146   subdir:   haddock-api
147   location: https://github.com/haskell/haddock.git