[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
266/329: gnu: cabal-install: Update to 2.4.0.0.
From: |
guix-commits |
Subject: |
266/329: gnu: cabal-install: Update to 2.4.0.0. |
Date: |
Wed, 20 Nov 2019 21:18:34 -0500 (EST) |
samplet pushed a commit to branch master
in repository guix.
commit 841f19541a386c4c149f53e682fa9ee6aa37852b
Author: Timothy Sample <address@hidden>
Date: Thu Oct 31 13:25:18 2019 -0400
gnu: cabal-install: Update to 2.4.0.0.
* gnu/packages/haskell-apps.scm (cabal-install): Update to 2.4.0.0.
[arguments]: Set Cabal file to r2, enable tests, and add a phase to
update the Cabal file to allow a newer version of 'zip-archive'.
[inputs]: Add 'ghc-zip-archive'.
---
gnu/packages/haskell-apps.scm | 21 ++++++++++++++++++---
1 file changed, 18 insertions(+), 3 deletions(-)
diff --git a/gnu/packages/haskell-apps.scm b/gnu/packages/haskell-apps.scm
index 00c4c27..2192c1c 100644
--- a/gnu/packages/haskell-apps.scm
+++ b/gnu/packages/haskell-apps.scm
@@ -49,10 +49,14 @@
#:use-module (gnu packages rsync)
#:use-module (gnu packages version-control))
+;; In Stackage LTS 14, this package is at 2.4.1.0. However, that
+;; version requires version 2.4.1.0 of the 'Cabal' package, which is
+;; provided by GHC 8.6.5 at version 2.4.0.1. Hence, we use an older
+;; version to match the compiler's library.
(define-public cabal-install
(package
(name "cabal-install")
- (version "2.2.0.0")
+ (version "2.4.0.0")
(source
(origin
(method url-fetch)
@@ -61,9 +65,19 @@
version
".tar.gz"))
(sha256
- (base32 "1nd3ch7qr4dpfxhgkcq2lnhvszx2kjgnn1kwb44vk9y5jgfs4mn8"))))
- (arguments `(#:tests? #f)) ; FIXME: testing libraries are missing.
+ (base32 "1xmyl0x8wqfrnray6ky5wy0g0samv4264fbdlzxhqsvk9dbfja8k"))))
(build-system haskell-build-system)
+ (arguments
+ `(#:cabal-revision
+ ("2" "1xil5pim6j1ckqj61zz6l7xpfxxr3rkw2hvpws2f7pr9shk645dl")
+ #:phases
+ (modify-phases %standard-phases
+ (add-before 'configure 'update-constraints
+ (lambda _
+ (substitute* "cabal-install.cabal"
+ (("zip-archive >= 0\\.3\\.2\\.5 && < 0\\.4,")
+ "zip-archive >= 0.3.2.5 && <= 0.4.1,"))
+ #t)))))
(inputs
`(("ghc-async" ,ghc-async)
("ghc-base16-bytestring" ,ghc-base16-bytestring)
@@ -78,6 +92,7 @@
("ghc-random" ,ghc-random)
("ghc-resolv" ,ghc-resolv)
("ghc-tar" ,ghc-tar)
+ ("ghc-zip-archive" ,ghc-zip-archive)
("ghc-zlib" ,ghc-zlib)))
(home-page "https://www.haskell.org/cabal/")
(synopsis "Command-line interface for Cabal and Hackage")
- 306/329: gnu: Add ghc-timezone-series., (continued)
- 306/329: gnu: Add ghc-timezone-series., guix-commits, 2019/11/20
- 304/329: gnu: elm-compiler: Fix Cabal dependency constraints., guix-commits, 2019/11/20
- 313/329: gnu: Add ghc-size-based., guix-commits, 2019/11/20
- 315/329: gnu: Add ghc-groups., guix-commits, 2019/11/20
- 317/329: gnu: Add ghc-dual-tree., guix-commits, 2019/11/20
- 320/329: gnu: Add ghc-intervals., guix-commits, 2019/11/20
- 312/329: gnu: Add ghc-dictionary-sharing., guix-commits, 2019/11/20
- 319/329: gnu: Add ghc-numeric-extras., guix-commits, 2019/11/20
- 325/329: gnu: Add ghc-diagrams-svg., guix-commits, 2019/11/20
- 328/329: gnu: ghc-haddock: Update to 2.22.0., guix-commits, 2019/11/20
- 266/329: gnu: cabal-install: Update to 2.4.0.0.,
guix-commits <=
- 277/329: gnu: Add ghc-getopt-generics., guix-commits, 2019/11/20
- 286/329: gnu: ghc-pandoc-citeproc: Update to 0.16.2., guix-commits, 2019/11/20
- 280/329: gnu: Add ghc-microlens-aeson., guix-commits, 2019/11/20
- 290/329: gnu: darcs: Fix Cabal dependency constraints., guix-commits, 2019/11/20
- 283/329: gnu: Add ghc-ipynb., guix-commits, 2019/11/20
- 291/329: gnu: ghc-microlens-aeson: Patch tests for i686-linux., guix-commits, 2019/11/20
- 278/329: gnu: Add ghc-unicode-transforms., guix-commits, 2019/11/20
- 279/329: gnu: Add ghc-hsyaml., guix-commits, 2019/11/20
- 293/329: gnu: ghc-stylish-haskell: Fix Cabal dependency constraints., guix-commits, 2019/11/20
- 284/329: gnu: ghc-pandoc: Update to 2.7.3., guix-commits, 2019/11/20