Commit eb92651e authored by Clint Adams's avatar Clint Adams
Browse files

patch haddock-library

parent e2f77736
Loading
Loading
Loading
Loading
+11 −0
Original line number Diff line number Diff line
--- a/haddock-library.cabal
+++ b/haddock-library.cabal
@@ -6,7 +6,7 @@
                       without pulling in the GHC dependency. Please note that the
                       API is likely to change so specify upper bounds in your
                       project if you can't release often. For interacting with Haddock
-                      itself, see the ‘haddock’ package.
+                      itself, see the 'haddock' package.
 license:              BSD3
 license-file:         LICENSE
 maintainer:           Alex Biehl <alexbiehl@gmail.com>, Simon Hengel <sol@typeful.net>, Mateusz Kowalczyk <fuuzetsu@fuuzetsu.co.uk>
+2 −0
Original line number Diff line number Diff line
avoid-unicode-in-description
system-attoparsec
+53 −0
Original line number Diff line number Diff line
--- a/haddock-library.cabal
+++ b/haddock-library.cabal
@@ -25,7 +25,6 @@
     , bytestring   >= 0.9.2.1 && < 0.11
     , transformers >= 0.3.0   && < 0.6
 
-  -- internal sub-lib
   build-depends:        attoparsec
 
   hs-source-dirs:       src
@@ -46,42 +45,6 @@
   if impl(ghc >= 8.0)
     ghc-options: -Wcompat -Wnoncanonical-monad-instances -Wnoncanonical-monadfail-instances
 
-library attoparsec
-  default-language:     Haskell2010
-
-  build-depends:
-      base         >= 4.5     && < 4.11
-    , bytestring   >= 0.9.2.1 && < 0.11
-    , deepseq      >= 1.3     && < 1.5
-
-  hs-source-dirs:       vendor/attoparsec-0.13.1.0
-
-  -- NB: haddock-library needs only small part of lib:attoparsec
-  --     internally, so we only bundle that subset here
-  exposed-modules:
-    Data.Attoparsec.ByteString
-    Data.Attoparsec.ByteString.Char8
-
-  other-modules:
-    Data.Attoparsec
-    Data.Attoparsec.ByteString.Buffer
-    Data.Attoparsec.ByteString.FastSet
-    Data.Attoparsec.ByteString.Internal
-    Data.Attoparsec.Combinator
-    Data.Attoparsec.Internal
-    Data.Attoparsec.Internal.Fhthagn
-    Data.Attoparsec.Internal.Types
-    Data.Attoparsec.Number
-
-  ghc-options:          -funbox-strict-fields -Wall -fwarn-tabs -O2
-
-  ghc-options: -Wall
-  if impl(ghc >= 8.0)
-    ghc-options: -Wcompat -Wnoncanonical-monad-instances -Wnoncanonical-monadfail-instances
-  else
-    build-depends: semigroups ^>= 0.18.3, fail ^>= 4.9.0.0
-
-
 test-suite spec
   type:             exitcode-stdio-1.0
   default-language: Haskell2010