[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
266/328: gnu: cabal-install: Update to 2.4.0.0.
From: |
guix-commits |
Subject: |
266/328: gnu: cabal-install: Update to 2.4.0.0. |
Date: |
Sat, 16 Nov 2019 19:33:22 -0500 (EST) |
samplet pushed a commit to branch wip-haskell-updates
in repository guix.
commit 384704d8577caa361c18d6fef8a5bba5085b41d5
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")
- 246/328: gnu: ghc-cryptohash-sha256: Update Cabal file to r3., (continued)
- 246/328: gnu: ghc-cryptohash-sha256: Update Cabal file to r3., guix-commits, 2019/11/16
- 244/328: gnu: ghc-feed: Update to 1.2.0.1., guix-commits, 2019/11/16
- 249/328: gnu: ghc-resolv: Update to 0.1.1.2., guix-commits, 2019/11/16
- 251/328: gnu: ghc-lens: Update to 4.17.1., guix-commits, 2019/11/16
- 255/328: gnu: Add ghc-zstd., guix-commits, 2019/11/16
- 264/328: gnu: ghc-chart: Update to 1.9.1., guix-commits, 2019/11/16
- 226/328: gnu: ghc-vector-builder: Update to 0.3.8., guix-commits, 2019/11/16
- 256/328: gnu: Add ghc-conduit-zstd., guix-commits, 2019/11/16
- 263/328: gnu: ghc-linear: Update to 1.20.9., guix-commits, 2019/11/16
- 265/328: gnu: ghc-tree-diff: Update to 0.1., guix-commits, 2019/11/16
- 266/328: gnu: cabal-install: Update to 2.4.0.0.,
guix-commits <=
- 269/328: gnu: ghc-persistent-sqlite: Update to 2.9.3., guix-commits, 2019/11/16
- 272/328: gnu: ghc-yesod-persistent: Update to 1.6.0.2., guix-commits, 2019/11/16
- 275/328: gnu: Add ghc-bitarray., guix-commits, 2019/11/16
- 278/328: gnu: Add ghc-unicode-transforms., guix-commits, 2019/11/16
- 277/328: gnu: Add ghc-getopt-generics., guix-commits, 2019/11/16
- 285/328: gnu: ghc-yesod-form: Update to 1.6.7., guix-commits, 2019/11/16
- 286/328: gnu: ghc-pandoc-citeproc: Update to 0.16.2., guix-commits, 2019/11/16
- 287/328: gnu: ghc-gtk2hs-buildtools: Update to 0.13.5.4., guix-commits, 2019/11/16
- 289/328: gnu: ghc-sandi: Update to 0.5., guix-commits, 2019/11/16
- 293/328: gnu: ghc-stylish-haskell: Fix Cabal dependency constraints., guix-commits, 2019/11/16