diff --git a/ghc-haddock-library.changes b/ghc-haddock-library.changes index cdb6538..b71ae97 100644 --- a/ghc-haddock-library.changes +++ b/ghc-haddock-library.changes @@ -1,8 +1,3 @@ -------------------------------------------------------------------- -Thu Nov 16 13:26:24 UTC 2023 - Peter Simons - -- Strip CRLF line endings from the bundled Cabal file. - ------------------------------------------------------------------- Mon Oct 23 21:39:13 UTC 2023 - Peter Simons diff --git a/haddock-library.cabal b/haddock-library.cabal index 0a4a2e7..baa24f4 100644 --- a/haddock-library.cabal +++ b/haddock-library.cabal @@ -1,131 +1,131 @@ -cabal-version: 3.0 -name: haddock-library -version: 1.11.0 -x-revision: 3 -synopsis: Library exposing some functionality of Haddock. - -description: Haddock is a documentation-generation tool for Haskell - libraries. These modules expose some - functionality of it without pulling in the GHC - dependency. Please note that the API is likely - to change so be sure to specify upper bounds in - your projects. For interacting with Haddock - itself, see the [haddock package](https://hackage.haskell.org/package/haddock). - -license: BSD-2-Clause -license-file: LICENSE -maintainer: Alec Theriault , Alex Biehl , Simon Hengel , Mateusz Kowalczyk -homepage: http://www.haskell.org/haddock/ -bug-reports: https://github.com/haskell/haddock/issues -category: Documentation - -tested-with: - GHC == 9.8.1 - GHC == 9.6.3 - GHC == 9.4.4 - GHC == 9.2.7 - GHC == 9.0.2 - GHC == 8.10.7 - GHC == 8.8.4 - GHC == 8.6.5 - GHC == 8.4.4 - GHC == 8.2.2 - GHC == 8.0.2 - GHC == 7.10.3 - GHC == 7.8.4 - GHC == 7.6.3 - GHC == 7.4.2 - -extra-source-files: - CHANGES.md - fixtures/examples/*.input - fixtures/examples/*.parsed - -common lib-defaults - default-language: Haskell2010 - - build-depends: - , base >= 4.5 && < 4.20 - , containers ^>= 0.4.2.1 || ^>= 0.5.0.0 || ^>= 0.6.0.1 - , text ^>= 1.2.3.0 || ^>= 2.0 || ^>= 2.1 - , parsec ^>= 3.1.13.0 - - ghc-options: -funbox-strict-fields -Wall - if impl(ghc >= 8.0) - ghc-options: -Wcompat -Wnoncanonical-monad-instances - -library - import: lib-defaults - - hs-source-dirs: src - - exposed-modules: - Documentation.Haddock.Doc - Documentation.Haddock.Markup - Documentation.Haddock.Parser - Documentation.Haddock.Types - - other-modules: - CompatPrelude - Documentation.Haddock.Parser.Util - Documentation.Haddock.Parser.Monad - Documentation.Haddock.Parser.Identifier - -test-suite spec - import: lib-defaults - type: exitcode-stdio-1.0 - main-is: Spec.hs - hs-source-dirs: - test - src - - other-modules: - CompatPrelude - Documentation.Haddock.Doc - Documentation.Haddock.Markup - Documentation.Haddock.Parser - Documentation.Haddock.Parser.Monad - Documentation.Haddock.Parser.Util - Documentation.Haddock.Parser.UtilSpec - Documentation.Haddock.ParserSpec - Documentation.Haddock.Types - Documentation.Haddock.Parser.Identifier - - build-depends: - , base-compat ^>= 0.12.0 || ^>= 0.13.0 - , QuickCheck ^>= 2.11 || ^>= 2.13.2 || ^>= 2.14 - , deepseq ^>= 1.3.0.0 || ^>= 1.4.0.0 || ^>= 1.5.0.0 - - -- NB: build-depends & build-tool-depends have independent - -- install-plans, so it's best to limit to a single major - -- version of `hspec` & `hspec-discover` to ensure - -- intercompatibility - build-depends: - , hspec >= 2.4.4 && < 2.12 - - build-tool-depends: - , hspec-discover:hspec-discover >= 2.4.4 && < 2.12 - -test-suite fixtures - type: exitcode-stdio-1.0 - default-language: Haskell2010 - main-is: Fixtures.hs - ghc-options: -Wall - hs-source-dirs: fixtures - build-depends: - -- intra-package dependency - , haddock-library - -- constraints inherited via lib:haddock-library component - , base - - -- extra dependencies - , base-compat ^>= 0.12.0 || ^>= 0.13.0 - , directory ^>= 1.3.0.2 - , filepath ^>= 1.4.1.2 - , optparse-applicative >= 0.15 && < 0.19 - , tree-diff ^>= 0.2 || ^>= 0.3 - -source-repository head - type: git - subdir: haddock-library - location: https://github.com/haskell/haddock.git +cabal-version: 3.0 +name: haddock-library +version: 1.11.0 +x-revision: 3 +synopsis: Library exposing some functionality of Haddock. + +description: Haddock is a documentation-generation tool for Haskell + libraries. These modules expose some + functionality of it without pulling in the GHC + dependency. Please note that the API is likely + to change so be sure to specify upper bounds in + your projects. For interacting with Haddock + itself, see the [haddock package](https://hackage.haskell.org/package/haddock). + +license: BSD-2-Clause +license-file: LICENSE +maintainer: Alec Theriault , Alex Biehl , Simon Hengel , Mateusz Kowalczyk +homepage: http://www.haskell.org/haddock/ +bug-reports: https://github.com/haskell/haddock/issues +category: Documentation + +tested-with: + GHC == 9.8.1 + GHC == 9.6.3 + GHC == 9.4.4 + GHC == 9.2.7 + GHC == 9.0.2 + GHC == 8.10.7 + GHC == 8.8.4 + GHC == 8.6.5 + GHC == 8.4.4 + GHC == 8.2.2 + GHC == 8.0.2 + GHC == 7.10.3 + GHC == 7.8.4 + GHC == 7.6.3 + GHC == 7.4.2 + +extra-source-files: + CHANGES.md + fixtures/examples/*.input + fixtures/examples/*.parsed + +common lib-defaults + default-language: Haskell2010 + + build-depends: + , base >= 4.5 && < 4.20 + , containers ^>= 0.4.2.1 || ^>= 0.5.0.0 || ^>= 0.6.0.1 + , text ^>= 1.2.3.0 || ^>= 2.0 || ^>= 2.1 + , parsec ^>= 3.1.13.0 + + ghc-options: -funbox-strict-fields -Wall + if impl(ghc >= 8.0) + ghc-options: -Wcompat -Wnoncanonical-monad-instances + +library + import: lib-defaults + + hs-source-dirs: src + + exposed-modules: + Documentation.Haddock.Doc + Documentation.Haddock.Markup + Documentation.Haddock.Parser + Documentation.Haddock.Types + + other-modules: + CompatPrelude + Documentation.Haddock.Parser.Util + Documentation.Haddock.Parser.Monad + Documentation.Haddock.Parser.Identifier + +test-suite spec + import: lib-defaults + type: exitcode-stdio-1.0 + main-is: Spec.hs + hs-source-dirs: + test + src + + other-modules: + CompatPrelude + Documentation.Haddock.Doc + Documentation.Haddock.Markup + Documentation.Haddock.Parser + Documentation.Haddock.Parser.Monad + Documentation.Haddock.Parser.Util + Documentation.Haddock.Parser.UtilSpec + Documentation.Haddock.ParserSpec + Documentation.Haddock.Types + Documentation.Haddock.Parser.Identifier + + build-depends: + , base-compat ^>= 0.12.0 || ^>= 0.13.0 + , QuickCheck ^>= 2.11 || ^>= 2.13.2 || ^>= 2.14 + , deepseq ^>= 1.3.0.0 || ^>= 1.4.0.0 || ^>= 1.5.0.0 + + -- NB: build-depends & build-tool-depends have independent + -- install-plans, so it's best to limit to a single major + -- version of `hspec` & `hspec-discover` to ensure + -- intercompatibility + build-depends: + , hspec >= 2.4.4 && < 2.12 + + build-tool-depends: + , hspec-discover:hspec-discover >= 2.4.4 && < 2.12 + +test-suite fixtures + type: exitcode-stdio-1.0 + default-language: Haskell2010 + main-is: Fixtures.hs + ghc-options: -Wall + hs-source-dirs: fixtures + build-depends: + -- intra-package dependency + , haddock-library + -- constraints inherited via lib:haddock-library component + , base + + -- extra dependencies + , base-compat ^>= 0.12.0 || ^>= 0.13.0 + , directory ^>= 1.3.0.2 + , filepath ^>= 1.4.1.2 + , optparse-applicative >= 0.15 && < 0.19 + , tree-diff ^>= 0.2 || ^>= 0.3 + +source-repository head + type: git + subdir: haddock-library + location: https://github.com/haskell/haddock.git