Subject: [bug#39798] [PATCH 11/13] gnu: ghc-haddock-library: Update to 1.8.0.

From: Pierre Neidhardt <[email-masked]>
Date: Wed, 26 Feb 2020 12:46:03 +0100

* gnu/packages/haskell-xyz.scm (ghc-haddock-library): Update to 1.8.0.
---
 gnu/packages/haskell-xyz.scm | 19 ++++---------------
 1 file changed, 4 insertions(+), 15 deletions(-)

diff --git a/gnu/packages/haskell-xyz.scm b/gnu/packages/haskell-xyz.scm
index 0d766ebe75..b80e19deef 100644
--- a/gnu/packages/haskell-xyz.scm
+++ b/gnu/packages/haskell-xyz.scm
@@ -4841,7 +4841,7 @@ documentation-generation tool for Haskell libraries.")
 (define-public ghc-haddock-library
   (package
     (name "ghc-haddock-library")
-    (version "1.7.0")
+    (version "1.8.0")
     (source
      (origin
        (method url-fetch)
@@ -4851,23 +4851,12 @@ documentation-generation tool for Haskell libraries.")
              ".tar.gz"))
        (sha256
         (base32
-         "04fhcjk0pvsaqvsgp2w06cv2qvshq1xs1bwc157q4lmkgr57khp7"))))
+         "15xpv29yh3kb9qq9gmws2l8m64i7phvf47y08vxc2j55101sg4vh"))))
     (build-system haskell-build-system)
-    (arguments
-     `(#:phases
-       (modify-phases %standard-phases
-         ;; Since there is no revised Cabal file upstream, we have to
-         ;; patch it manually.
-         (add-before 'configure 'relax-test-suite-dependencies
-           (lambda _
-             (substitute* "haddock-library.cabal"
-               (("hspec\\s*>= 2.4.4   && < 2.6") "hspec")
-               (("QuickCheck\\s*\\^>= 2.11") "QuickCheck"))
-             #t)))))
     (native-inputs
-     `(("ghc-base-compat" ,ghc-base-compat)
+     `(("ghc-base-compat" ,ghc-base-compat-0.11)
        ("ghc-hspec" ,ghc-hspec)
-       ("ghc-optparse-applicative" ,ghc-optparse-applicative)
+       ("ghc-optparse-applicative" ,ghc-optparse-applicative-0.15)
        ("ghc-quickcheck" ,ghc-quickcheck)
        ("ghc-tree-diff" ,ghc-tree-diff)
        ("hspec-discover" ,hspec-discover)))
-- 
2.25.0