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.
This commit is contained in:
Ricardo Wurmus 2018-02-13 09:59:20 +01:00
parent 969d0c6454
commit 64b5cce93a
No known key found for this signature in database
GPG Key ID: 197A5888235FACAC
1 changed files with 13 additions and 7 deletions

View File

@ -702,23 +702,29 @@ Strict, Transitional and Frameset variants.")
(define-public ghc-blaze-html (define-public ghc-blaze-html
(package (package
(name "ghc-blaze-html") (name "ghc-blaze-html")
(version "0.8.1.2") (version "0.9.0.1")
(source (source
(origin (origin
(method url-fetch) (method url-fetch)
(uri (string-append (uri (string-append "https://hackage.haskell.org/package/"
"https://hackage.haskell.org/package/blaze-html/blaze-html-" "blaze-html/blaze-html-"
version version ".tar.gz"))
".tar.gz"))
(sha256 (sha256
(base32 (base32
"1dzjgsvfgz9d944z8af9lsl8h5as72vsyc0m4nzkks8jh6rr5vpp")))) "0r0acv47nh75bmf7kjyfvhcwz8f02rn9x0a1l80pzgyczfrsmkmf"))))
(build-system haskell-build-system) (build-system haskell-build-system)
(arguments `(#:tests? #f)) ; FIXME: testing libraries are missing. (arguments
`(#:configure-flags (list "--allow-newer=QuickCheck")))
(inputs (inputs
`(("ghc-blaze-builder" ,ghc-blaze-builder) `(("ghc-blaze-builder" ,ghc-blaze-builder)
("ghc-text" ,ghc-text) ("ghc-text" ,ghc-text)
("ghc-blaze-markup" ,ghc-blaze-markup))) ("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") (home-page "http://jaspervdj.be/blaze")
(synopsis "Fast HTML combinator library") (synopsis "Fast HTML combinator library")
(description "This library provides HTML combinators for Haskell.") (description "This library provides HTML combinators for Haskell.")