[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
266/290: gnu: cabal-install: Update to 2.4.0.0.
From: |
guix-commits |
Subject: |
266/290: gnu: cabal-install: Update to 2.4.0.0. |
Date: |
Wed, 6 Nov 2019 08:23:25 -0500 (EST) |
samplet pushed a commit to branch wip-haskell-updates
in repository guix.
commit d5c9858819e0543f0f431312cacb41642ef08eee
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 2e197f4..eff42a1 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")
- 258/290: gnu: ghc-validation: Update to 1.1., (continued)
- 258/290: gnu: ghc-validation: Update to 1.1., guix-commits, 2019/11/06
- 261/290: gnu: ghc-warp-tls: Update to 3.2.8., guix-commits, 2019/11/06
- 267/290: gnu: ghc-http-conduit: Update to 2.3.7.3., guix-commits, 2019/11/06
- 274/290: gnu: Add ghc-tasty-lua., guix-commits, 2019/11/06
- 275/290: gnu: Add ghc-bitarray., guix-commits, 2019/11/06
- 278/290: gnu: Add ghc-unicode-transforms., guix-commits, 2019/11/06
- 219/290: gnu: ghc-wai-logger: Update to 2.3.5., guix-commits, 2019/11/06
- 229/290: gnu: ghc-conduit: Update to 1.3.1.1., guix-commits, 2019/11/06
- 243/290: gnu: ghc-stm-conduit: Update to 4.0.1., guix-commits, 2019/11/06
- 265/290: gnu: ghc-tree-diff: Update to 0.1., guix-commits, 2019/11/06
- 266/290: gnu: cabal-install: Update to 2.4.0.0.,
guix-commits <=
- 249/290: gnu: ghc-resolv: Update to 0.1.1.2., guix-commits, 2019/11/06
- 277/290: gnu: Add ghc-getopt-generics., guix-commits, 2019/11/06
- 279/290: gnu: Add ghc-hsyaml., guix-commits, 2019/11/06
- 281/290: gnu: Add ghc-aeson-diff., guix-commits, 2019/11/06
- 285/290: gnu: ghc-yesod-form: Update to 1.6.7., guix-commits, 2019/11/06
- 238/290: gnu: Add ghc-infer-license., guix-commits, 2019/11/06
- 234/290: gnu: ghc-bzlib-conduit: Update to 0.3.0.2., guix-commits, 2019/11/06
- 237/290: gnu: Add ghc-text-metrics., guix-commits, 2019/11/06
- 200/290: gnu: Add ghc-dense-linear-algebra., guix-commits, 2019/11/06
- 212/290: gnu: ghc-uri-bytestring: Update to 0.3.2.2., guix-commits, 2019/11/06