gnu: ghc-split: Update dependencies.

* gnu/packages/haskell.scm (ghc-split): Update package dependencies for
  compatibility with new GHC.  Replicate Cabal-file patch from Hackage.
This commit is contained in:
Paul van der Walt 2015-10-15 01:01:17 +02:00
parent 2108eac211
commit 565f040df4
1 changed files with 12 additions and 5 deletions

View File

@ -1389,15 +1389,22 @@ and high speed.")
".tar.gz")) ".tar.gz"))
(sha256 (sha256
(base32 (base32
"0xa3j0gwr6k5vizxybnzk5fgb3pppgspi6mysnp2gwjp2dbrxkzr")))) "0xa3j0gwr6k5vizxybnzk5fgb3pppgspi6mysnp2gwjp2dbrxkzr"))
(modules '((guix build utils)))
(snippet
;; The Cabal file on Hackage is updated, but the tar.gz does not
;; include it. See
;; <https://hackage.haskell.org/package/split-0.2.2/revisions/>.
'(substitute* "split.cabal"
(("base <4.8") "base <4.9")))))
(build-system haskell-build-system) (build-system haskell-build-system)
(inputs (inputs
`(("ghc-quickcheck" ,ghc-quickcheck))) `(("ghc-quickcheck" ,ghc-quickcheck)))
(home-page "http://hackage.haskell.org/package/split") (home-page "http://hackage.haskell.org/package/split")
(synopsis (synopsis "Combinator library for splitting lists")
"Combinator library for splitting lists") (description "This package provides a collection of Haskell functions for
(description "A collection of various methods for splitting lists into splitting lists into parts, akin to the @code{split} function found in several
parts, akin to the 'split' function found in several mainstream languages.") mainstream languages.")
(license bsd-3))) (license bsd-3)))
(define-public ghc-parsec (define-public ghc-parsec