guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

137/177: gnu: ghc-blaze-html: Update to 0.9.0.1.


From: Ricardo Wurmus
Subject: 137/177: gnu: ghc-blaze-html: Update to 0.9.0.1.
Date: Tue, 13 Feb 2018 07:38:25 -0500 (EST)

rekado pushed a commit to branch master
in repository guix.

commit 64b5cce93a3fcaa54944193095f401b1c0fd83c6
Author: Ricardo Wurmus <address@hidden>
Date:   Tue Feb 13 09:59:20 2018 +0100

    gnu: ghc-blaze-html: Update to 0.9.0.1.
    
    * gnu/packages/haskell-web.scm (ghc-blaze-html): Update to 0.9.0.1.
    [arguments]: Enable tests, allow building with newer QuickCheck.
    [native-inputs]: Add ghc-hunit, ghc-quickcheck, ghc-test-framework,
    ghc-test-framework-hunit, and ghc-test-framework-quickcheck2.
---
 gnu/packages/haskell-web.scm | 20 +++++++++++++-------
 1 file changed, 13 insertions(+), 7 deletions(-)

diff --git a/gnu/packages/haskell-web.scm b/gnu/packages/haskell-web.scm
index 1618486..1973e63 100644
--- a/gnu/packages/haskell-web.scm
+++ b/gnu/packages/haskell-web.scm
@@ -702,23 +702,29 @@ Strict, Transitional and Frameset variants.")
 (define-public ghc-blaze-html
   (package
     (name "ghc-blaze-html")
-    (version "0.8.1.2")
+    (version "0.9.0.1")
     (source
      (origin
        (method url-fetch)
-       (uri (string-append
-             "https://hackage.haskell.org/package/blaze-html/blaze-html-";
-             version
-             ".tar.gz"))
+       (uri (string-append "https://hackage.haskell.org/package/";
+                           "blaze-html/blaze-html-"
+                           version ".tar.gz"))
        (sha256
         (base32
-         "1dzjgsvfgz9d944z8af9lsl8h5as72vsyc0m4nzkks8jh6rr5vpp"))))
+         "0r0acv47nh75bmf7kjyfvhcwz8f02rn9x0a1l80pzgyczfrsmkmf"))))
     (build-system haskell-build-system)
-    (arguments `(#:tests? #f)) ; FIXME: testing libraries are missing.
+    (arguments
+     `(#:configure-flags (list "--allow-newer=QuickCheck")))
     (inputs
      `(("ghc-blaze-builder" ,ghc-blaze-builder)
        ("ghc-text" ,ghc-text)
        ("ghc-blaze-markup" ,ghc-blaze-markup)))
+    (native-inputs
+     `(("ghc-hunit" ,ghc-hunit)
+       ("ghc-quickcheck" ,ghc-quickcheck)
+       ("ghc-test-framework" ,ghc-test-framework)
+       ("ghc-test-framework-hunit" ,ghc-test-framework-hunit)
+       ("ghc-test-framework-quickcheck2" ,ghc-test-framework-quickcheck2)))
     (home-page "http://jaspervdj.be/blaze";)
     (synopsis "Fast HTML combinator library")
     (description "This library provides HTML combinators for Haskell.")



reply via email to

[Prev in Thread] Current Thread [Next in Thread]