[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
215/257: gnu: idris: Update to 1.3.0.
From: |
Ricardo Wurmus |
Subject: |
215/257: gnu: idris: Update to 1.3.0. |
Date: |
Thu, 27 Sep 2018 15:47:32 -0400 (EDT) |
rekado pushed a commit to branch wip-haskell
in repository guix.
commit 648fb081ad99a2f60f21f8fb10294a978ee875b2
Author: Timothy Sample <address@hidden>
Date: Wed Aug 29 00:36:30 2018 -0400
gnu: idris: Update to 1.3.0.
* gnu/packages/idris.scm (idris): Update to 1.3.0.
[inputs]: Remove ghc-aeson-1.1.2.0, ghc-cheapskate-0.1.0.5, and
ghc-trifecta-1.6.2.1; add ghc-aeson, ghc-cheapskate, and ghc-megaparsec.
[arguments]: Add a phase that patches the Cabal file to allow newer
versions of aeson.
(ghc-aeson-1.1.2.0, ghc-cheapskate-0.1.0.5, ghc-trifecta-1.6.2.1): Remove.
---
gnu/packages/idris.scm | 61 +++++++++-----------------------------------------
1 file changed, 10 insertions(+), 51 deletions(-)
diff --git a/gnu/packages/idris.scm b/gnu/packages/idris.scm
index 7f1af62..f80d6b3 100644
--- a/gnu/packages/idris.scm
+++ b/gnu/packages/idris.scm
@@ -31,56 +31,10 @@
#:use-module ((guix licenses) #:prefix license:)
#:use-module (guix packages))
-(define ghc-aeson-1.1.2.0
- (package (inherit ghc-aeson)
- (version "1.1.2.0")
- (source
- (origin
- (method url-fetch)
- (uri (string-append
- "https://hackage.haskell.org/package/aeson/aeson-"
- version
- ".tar.gz"))
- (sha256
- (base32
- "1zy5z8pzvh53qkjm0nm3f4rwqfqg3867ck8ncd6mrxpcyvxqqj1p"))))))
-
-(define ghc-trifecta-1.6.2.1
- (package (inherit ghc-trifecta)
- (version "1.6.2.1")
- (source
- (origin
- (method url-fetch)
- (uri (string-append
- "https://hackage.haskell.org/package/trifecta/"
- "trifecta-" version ".tar.gz"))
- (sha256
- (base32
- "1rgv62dlmm4vkdymx5rw5jg3w8ifpzg1745rvs1m4kzdx16p5cxs"))))))
-
-;; ghc-cheapskate appeared too new. This follows LTS Haskell.
-(define ghc-cheapskate-0.1.0.5
- (package
- (inherit ghc-cheapskate)
- (version "0.1.0.5")
- (source
- (origin
- (method url-fetch)
- (uri (string-append
- "https://hackage.haskell.org/package/cheapskate/cheapskate-"
- version
- ".tar.gz"))
- (sha256
- (base32
- "0cpsmfx5z2xykg71sv8j7pl8ga6pzyjnjdb9bxn00vcpqkzvfqvs"))))
- (arguments
- ;; LTS Haskell says data-default >=0.5 && <0.8
- `(#:configure-flags (list "--allow-newer=data-default")))))
-
(define-public idris
(package
(name "idris")
- (version "1.0")
+ (version "1.3.0")
(source (origin
(method url-fetch)
(uri (string-append
@@ -88,12 +42,12 @@
"idris-" version "/idris-" version ".tar.gz"))
(sha256
(base32
- "1srbz0cyvd0k1yqgbrwnfj94yg5y3z533q1kzac96z1h7v454s5h"))))
+ "1w5i2z88li4niykwc6yrgxgfp25ll6ih95cip0ri7d8i7ik03c48"))))
(build-system haskell-build-system)
(inputs
`(("gmp" ,gmp)
("ncurses" ,ncurses)
- ("ghc-aeson" ,ghc-aeson-1.1.2.0)
+ ("ghc-aeson" ,ghc-aeson)
("ghc-annotated-wl-pprint" ,ghc-annotated-wl-pprint)
("ghc-ansi-terminal" ,ghc-ansi-terminal)
("ghc-ansi-wl-pprint" ,ghc-ansi-wl-pprint)
@@ -101,11 +55,12 @@
("ghc-base64-bytestring" ,ghc-base64-bytestring)
("ghc-blaze-html" ,ghc-blaze-html)
("ghc-blaze-markup" ,ghc-blaze-markup)
- ("ghc-cheapskate" ,ghc-cheapskate-0.1.0.5)
+ ("ghc-cheapskate" ,ghc-cheapskate)
("ghc-code-page" ,ghc-code-page)
("ghc-fingertree" ,ghc-fingertree)
("ghc-fsnotify" ,ghc-fsnotify)
("ghc-ieee754" ,ghc-ieee754)
+ ("ghc-megaparsec" ,ghc-megaparsec)
("ghc-network" ,ghc-network)
("ghc-optparse-applicative" ,ghc-optparse-applicative)
("ghc-regex-tdfa" ,ghc-regex-tdfa)
@@ -113,7 +68,6 @@
("ghc-split" ,ghc-split)
("ghc-terminal-size" ,ghc-terminal-size)
("ghc-text" ,ghc-text)
- ("ghc-trifecta" ,ghc-trifecta-1.6.2.1)
("ghc-uniplate" ,ghc-uniplate)
("ghc-unordered-containers" ,ghc-unordered-containers)
("ghc-utf8-string" ,ghc-utf8-string)
@@ -131,6 +85,11 @@
(lambda _
(setenv "CC" "gcc")
#t))
+ (add-before 'configure 'update-constraints
+ (lambda _
+ (substitute* "idris.cabal"
+ (("aeson >= 0\\.6 && < 1\\.3")
+ "aeson >= 0.6 && < 1.4"))))
(add-after 'install 'fix-libs-install-location
(lambda* (#:key outputs #:allow-other-keys)
(let* ((out (assoc-ref outputs "out"))
- 204/257: gnu: ghc-reducers: Update to 3.12.3., (continued)
- 204/257: gnu: ghc-reducers: Update to 3.12.3., Ricardo Wurmus, 2018/09/27
- 201/257: gnu: ghc-free: Update to 5.0.2., Ricardo Wurmus, 2018/09/27
- 198/257: gnu: Add ghc-tls-session-manager., Ricardo Wurmus, 2018/09/27
- 197/257: gnu: ghc-shakespeare: Update to 2.0.15., Ricardo Wurmus, 2018/09/27
- 199/257: gnu: ghc-xss-sanitize: Update to 0.3.6., Ricardo Wurmus, 2018/09/27
- 196/257: gnu: ghc-semigroupoids: Update to 5.2.2., Ricardo Wurmus, 2018/09/27
- 183/257: gnu: ghc-tasty-th: Update to 0.1.7., Ricardo Wurmus, 2018/09/27
- 184/257: gnu: ghc-tls: Update to 1.4.1., Ricardo Wurmus, 2018/09/27
- 176/257: gnu: ghc-email-validate: Update to 2.3.2.6., Ricardo Wurmus, 2018/09/27
- 210/257: gnu: ghc-tasty-rerun: Update to 1.1.12., Ricardo Wurmus, 2018/09/27
- 215/257: gnu: idris: Update to 1.3.0.,
Ricardo Wurmus <=
- 200/257: gnu: raincat: Update to 1.2., Ricardo Wurmus, 2018/09/27
- 195/257: gnu: ghc-profunctors: Update Cabal file to r2., Ricardo Wurmus, 2018/09/27
- 173/257: gnu: ghc-attoparsec-iso8601: Update Cabal file to r1., Ricardo Wurmus, 2018/09/27
- 169/257: gnu: ghc-socks: Update to 0.5.6., Ricardo Wurmus, 2018/09/27
- 206/257: gnu: ghc-vault: Update to 0.3.1.2., Ricardo Wurmus, 2018/09/27
- 202/257: gnu: ghc-http-client-tls: Update to 0.3.5.3., Ricardo Wurmus, 2018/09/27
- 194/257: gnu: ghc-pandoc-types: Remove unneeded "--allow-newer" flag., Ricardo Wurmus, 2018/09/27
- 188/257: gnu: ghc-aeson-pretty: Update to 0.8.7., Ricardo Wurmus, 2018/09/27
- 177/257: gnu: ghc-glut: Update to 2.7.0.14., Ricardo Wurmus, 2018/09/27
- 174/257: gnu: ghc-bifunctors: Update to 5.5.3., Ricardo Wurmus, 2018/09/27