summaryrefslogtreecommitdiff
path: root/patches/ghc-9.14-doxygen-parser.diff
blob: 997f86637307f95ab6a43982650a6d7bb023b93c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
diff --git a/doxygen-parser.cabal b/doxygen-parser.cabal
index 699aa3f..63bd79f 100644
--- a/doxygen-parser.cabal
+++ b/doxygen-parser.cabal
@@ -61,11 +61,10 @@ library
   hs-source-dirs:  src src-internal
   exposed-modules:
     Doxygen.Parser
+    Doxygen.Parser.Internal
     Doxygen.Parser.Types
     Doxygen.Parser.Warning

-  -- Implementation module, kept off the public Hackage surface.
-  other-modules:   Doxygen.Parser.Internal
   build-depends:
     , containers   >=0.6.5.1 && <0.9
     , directory    >=1.3.6.2 && <1.4
@@ -75,24 +74,6 @@ library
     , text         >=1.2     && <2.2
     , xml-conduit  >=1.9     && <1.11

--- Private sub-library that re-exposes the implementation module to the test
--- suite. It depends on the main library so 'Doxygen.Parser.Types' (and the
--- 'DoxygenKey' it now houses) stay a single shared copy across both.
-library internal
-  import:          lang
-  visibility:      private
-  hs-source-dirs:  src-internal
-  exposed-modules: Doxygen.Parser.Internal
-  build-depends:
-    , containers      >=0.6.5.1 && <0.9
-    , directory       >=1.3.6.2 && <1.4
-    , doxygen-parser
-    , filepath        >=1.4     && <1.6
-    , process         >=1.6     && <1.7
-    , temporary       >=1.3     && <1.4
-    , text            >=1.2     && <2.2
-    , xml-conduit     >=1.9     && <1.11
-
 test-suite test-doxygen-parser
   import:         lang
   type:           exitcode-stdio-1.0
@@ -118,7 +99,6 @@ test-suite test-doxygen-parser
   -- Internal dependencies
   build-depends:
     , doxygen-parser
-    , doxygen-parser:internal

   -- External dependencies
   build-depends: