Subject: bug#51859: closed (Re: [bug#51859] [PATCH] gnu: fennel: Update to 1.0.0.)

From: [email-masked] (GNU bug Tracking System)
Date: Tue, 16 Nov 2021 19:08:02 +0000

Your bug report

#51859: [PATCH] gnu: fennel: Update to 1.0.0.

which was filed against the guix-patches package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to [email-masked].

-- 
51859: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=51859
GNU Bug Tracking System
Contact [email-masked] with problems

Subject: Re: [bug#51859] [PATCH] gnu: fennel: Update to 1.0.0.
From: Efraim Flashner <[email-masked]>
To: jgart <[email-masked]>
Cc: [email-masked]
Date: Tue, 16 Nov 2021 21:06:43 +0200
List-Id: <debbugs-submit.debbugs.gnu.org>

Patch pushed. Thanks!

-- 
Efraim Flashner   <[email-masked]>   רנשלפ םירפא
GPG key = A28B F40C 3E55 1372 662D  14F7 41AA E7DC CA3D 8351
Confidentiality cannot be guaranteed on emails sent or received unencrypted

Subject: [PATCH] gnu: fennel: Update to 1.0.0.
From: jgart <[email-masked]>
To: [email-masked]
Cc: jgart <[email-masked]>
Date: Mon, 15 Nov 2021 00:56:32 -0500
List-Id: <debbugs-submit.debbugs.gnu.org>

* gnu/packages/lua.scm (fennel): Update to 1.0.0.
[origin]: Remove unneeded snippet.
[arguments]: Remove unneeded phases.
---
 gnu/packages/lua.scm | 26 ++++----------------------
 1 file changed, 4 insertions(+), 22 deletions(-)

diff --git a/gnu/packages/lua.scm b/gnu/packages/lua.scm
index 0ecc91294f..b73efd2bba 100644
--- a/gnu/packages/lua.scm
+++ b/gnu/packages/lua.scm
@@ -1170,7 +1170,7 @@ (define-public emilua
 (define-public fennel
   (package
     (name "fennel")
-    (version "0.9.1")
+    (version "1.0.0")
     (source (origin
               (method git-fetch)
               (uri (git-reference
@@ -1179,11 +1179,7 @@ (define-public fennel
               (file-name (git-file-name name version))
               (sha256
                (base32
-                "07qgycf5cxm9zcc4fgpgvplg95ndavh3ynpdjpvzkikzbnyj7xia"))
-              (modules '((guix build utils)))
-              (snippet
-               '(begin
-                  (delete-file "fennelview.lua") #t))))
+                "0d4rpf0f2aqxlca3kxrbhjjhf1knhiz8ccwlx8xid05mc16la70y"))))
     (build-system gnu-build-system)
     (arguments
      '(#:make-flags (list (string-append "PREFIX=" (assoc-ref %outputs "out")))
@@ -1192,28 +1188,14 @@ (define-public fennel
        #:phases
        (modify-phases %standard-phases
          (delete 'configure)
-         (add-before 'build 'patch-lua-calls
-           (lambda* (#:key inputs #:allow-other-keys)
-             (let ((lua (string-append (assoc-ref inputs "lua") "/bin/lua")))
-               (setenv "LUA" lua)
-               (substitute* "old/launcher.lua"
-                 (("/usr/bin/env lua") lua))
-               #t)))
          (add-after 'build 'patch-fennel
            (lambda* (#:key inputs #:allow-other-keys)
              (substitute* "fennel"
                (("/usr/bin/env .*lua")
-                (string-append (assoc-ref inputs "lua") "/bin/lua")))
-             #t))
+                (string-append (assoc-ref inputs "lua") "/bin/lua")))))
          (delete 'check)
          (add-after 'install 'check
-           (assoc-ref %standard-phases 'check))
-         (add-after 'install 'install-manpage
-           (lambda* (#:key outputs #:allow-other-keys)
-             (install-file "fennel.1"
-                           (string-append (assoc-ref outputs "out")
-                                          "/share/man/man1"))
-             #t)))))
+           (assoc-ref %standard-phases 'check)))))
     (inputs `(("lua" ,lua)))
     (home-page "https://fennel-lang.org/")
     (synopsis "Lisp that compiles to Lua")
-- 
2.33.1