Subject: [bug#49607] [PATCH 1/3] gnu: ghc-cheapskate: Update to 0.1.1.2

From: Attila Lendvai <[email-masked]>
Date: Tue, 5 Oct 2021 18:37:56 +0200

* gnu/packages/haskell-xyz.scm (ghc-cheapskate): Update to 0.1.1.2

* gnu/packages/idris.scm (idris-1.3.3): Delete now unnecessary substitute
---

i have many plans for further changes, but i thought i'll
send this meanwhile, so that everyone can have a fresh
idris on their guix.

this doesn't build/install the docs. may add it later.

 gnu/packages/haskell-xyz.scm | 4 ++--
 gnu/packages/idris.scm       | 4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/gnu/packages/haskell-xyz.scm b/gnu/packages/haskell-xyz.scm
index f421458e15..87ebe4f3b6 100644
--- a/gnu/packages/haskell-xyz.scm
+++ b/gnu/packages/haskell-xyz.scm
@@ -1966,7 +1966,7 @@ Partial and Infinite Values\"}.")
 (define-public ghc-cheapskate
   (package
     (name "ghc-cheapskate")
-    (version "0.1.1.1")
+    (version "0.1.1.2")
     (source
      (origin
        (method url-fetch)
@@ -1976,7 +1976,7 @@ Partial and Infinite Values\"}.")
              ".tar.gz"))
        (sha256
         (base32
-         "0qnyd8bni2rby6b02ff4bvfdhm1hwc8vzpmnms84jgrlg1lly3fm"))))
+         "17n6laihqrjn62l8qw4565nf77zkvrl68bjmc3vzr4ckqfblhdzd"))))
     (build-system haskell-build-system)
     (inputs
      `(("ghc-blaze-html" ,ghc-blaze-html)
diff --git a/gnu/packages/idris.scm b/gnu/packages/idris.scm
index ca2772b904..058d679c1f 100644
--- a/gnu/packages/idris.scm
+++ b/gnu/packages/idris.scm
@@ -100,8 +100,8 @@
          (add-after 'unpack 'update-constraints
            (lambda _
              (substitute* "idris.cabal"
-               (("ansi-terminal < 0\\.9") "ansi-terminal < 0.10")
-               (("cheapskate >= 0\\.1\\.1\\.2 && < 0\\.2") "cheapskate >= 0.1.1.1 && < 0.2"))
+               ;; This is only needed for v1.3.3, later it got relaxed upstream
+               (("ansi-terminal < 0\\.9") "ansi-terminal < 0.10"))
              #t))
          (add-before 'configure 'set-cc-command
            (lambda _
-- 
2.33.0