guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

05/07: gnu: Add ghc-cheapskate-0.1.0.5.


From: Ludovic Courtès
Subject: 05/07: gnu: Add ghc-cheapskate-0.1.0.5.
Date: Thu, 15 Mar 2018 18:46:25 -0400 (EDT)

civodul pushed a commit to branch master
in repository guix.

commit 866b19086e7f294261e694b228ff05ffb129296c
Author: Alex ter Weele <address@hidden>
Date:   Wed Mar 7 18:31:22 2018 -0600

    gnu: Add ghc-cheapskate-0.1.0.5.
    
    * gnu/packages/idris.scm (ghc-cheapskate-0.1.0.5): New variable.
    
    Signed-off-by: Ludovic Courtès <address@hidden>
---
 gnu/packages/idris.scm | 19 +++++++++++++++++++
 1 file changed, 19 insertions(+)

diff --git a/gnu/packages/idris.scm b/gnu/packages/idris.scm
index b67fcbc..c103055 100644
--- a/gnu/packages/idris.scm
+++ b/gnu/packages/idris.scm
@@ -57,6 +57,25 @@
         (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")



reply via email to

[Prev in Thread] Current Thread [Next in Thread]