gnu: ghc-fgl: Update to 5.7.0.1.

* gnu/packages/haskell-xyz.scm (ghc-fgl): Update to 5.7.0.1.
[arguments]: Change the phase that updates the Cabal file to allow for
newer versions of 'hspec' and 'QuickCheck'.
This commit is contained in:
Timothy Sample 2019-10-31 10:26:27 -04:00
parent bb148db899
commit 17482b26fb
No known key found for this signature in database
GPG key ID: 2AC6A5EC1C357C59

View file

@ -3395,7 +3395,7 @@ (define-public ghc-feed
(define-public ghc-fgl
(package
(name "ghc-fgl")
(version "5.6.0.0")
(version "5.7.0.1")
(outputs '("out" "doc"))
(source
(origin
@ -3406,7 +3406,7 @@ (define-public ghc-fgl
".tar.gz"))
(sha256
(base32
"1i6cp4b3w7sjk7y1dq3fh6bci2sm5h3lnbbaw9ln19nwncg2wwll"))))
"04793yh778ck3kz1z2svnfdwwls2kisbnky4lzvf4zjfgpv7mkpz"))))
(build-system haskell-build-system)
(arguments
`(#:phases
@ -3414,10 +3414,10 @@ (define-public ghc-fgl
(add-before 'configure 'update-constraints
(lambda _
(substitute* "fgl.cabal"
(("QuickCheck >= 2\\.8 && < 2\\.10")
"QuickCheck >= 2.8 && < 2.12")
(("hspec >= 2\\.1 && < 2\\.5")
"hspec >= 2.1 && < 2.6")))))))
(("QuickCheck >= 2\\.8 && < 2\\.13")
"QuickCheck >= 2.8 && < 2.14")
(("hspec >= 2\\.1 && < 2\\.7")
"hspec >= 2.1 && < 2.8")))))))
(inputs
`(("ghc-hspec" ,ghc-hspec)
("ghc-quickcheck" ,ghc-quickcheck)))