Subject: [bug#75172] [PATCH] gnu: fennel: Update to 1.5.1.

From: Yovan Naumovski <[email-masked]>
Date: Sun, 29 Dec 2024 11:52:19 +0200

* gnu/packages/lua.scm (fennel): Update to 1.5.1.

Change-Id: I6775e34e470a957a741a2b079d5e8040c98921d2
---
 gnu/packages/lua.scm | 9 +++++++--
 1 file changed, 7 insertions(+), 2 deletions(-)

diff --git a/gnu/packages/lua.scm b/gnu/packages/lua.scm
index 074ab6a0aa..7d060ed3e4 100644
--- a/gnu/packages/lua.scm
+++ b/gnu/packages/lua.scm
@@ -1396,7 +1396,7 @@ (define-public emilua
 (define-public fennel
   (package
     (name "fennel")
-    (version "1.5.0")
+    (version "1.5.1")
     (source (origin
               (method git-fetch)
               (uri (git-reference
@@ -1405,7 +1405,7 @@ (define-public fennel
               (file-name (git-file-name name version))
               (sha256
                (base32
-                "0d25v7swq3msxsdzv91wwxy89y3qgw4bvzq1px89qsjzbbd7ccg2"))))
+                "09m7v62qw058llfrfqja14yx8ngjzrfx10hf2h1cc5zz0nbw89bj"))))
     (build-system gnu-build-system)
     (arguments
      (list #:make-flags #~(list (string-append "PREFIX="
@@ -1416,6 +1416,11 @@ (define-public fennel
                         (delete 'configure)
                         (add-after 'build 'patch-fennel
                           (lambda* (#:key inputs #:allow-other-keys)
+                            ;; Skip IRC CI build status reporting, it's not
+                            ;; used here.
+                            (substitute* "test/irc.lua"
+                              (("local is_origin")
+                               "if remote == nil then\nreturn function() end\nend\nlocal is_origin"))
                             (substitute* "fennel"
                               (("/usr/bin/env .*lua")
                                (search-input-file inputs "/bin/lua")))))

base-commit: a34d8e2721d458e09f63b654dfe79e78589ac9a9
-- 
2.46.0