[PATCH] gnu: fennel: Update to 1.0.0.

DoneSubmitted by jgart.
Details
2 participants
  • Efraim Flashner
  • jgart
Owner
unassigned
Severity
normal
J
(address . guix-patches@gnu.org)(name . jgart)(address . jgart@dismail.de)
20211115055632.11493-1-jgart@dismail.de
* 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(-)

Toggle diff (59 lines)
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
E
E
Efraim Flashner wrote on 16 Nov 2021 20:06
(name . jgart)(address . jgart@dismail.de)(address . 51859-done@debbugs.gnu.org)
YZQBQ1MOfPGMslgj@3900XT
Patch pushed. Thanks!

--
Efraim Flashner <efraim@flashner.co.il> רנשלפ םירפא
GPG key = A28B F40C 3E55 1372 662D 14F7 41AA E7DC CA3D 8351
Confidentiality cannot be guaranteed on emails sent or received unencrypted
-----BEGIN PGP SIGNATURE-----

iQIzBAABCgAdFiEEoov0DD5VE3JmLRT3Qarn3Mo9g1EFAmGUAUIACgkQQarn3Mo9
g1HjZA/+KeDbUql1IstnL5EuIq72B3Ysa5AzKNMJgX5xF05yLcUrJX875MxjkZBZ
kpQBYlR/W/TJRhH79UXjIhiZu5gNoOfUkb8/KvVieCN5YU2X6jN4MsX/9tbuhrSI
adS9WjeCaGtW4QmoigWWUlE07TiEB0pt2wb9uIKtmleTeZJmjdPITytNzzFok2Hy
q7bloEjoamNniLoVk/Kn+BYe3DzHwocPnTTLNKdoXamIdY7LEXl7MCWCz7mvdg4j
Ou3rre5RUpCY0XChj9g98m5PV4ihjkHz57PBrpTTeAHvzDHtkcZTUWZABwaj2c9j
X3DHZu8hE7/AtW5coCPXv4DRV5s9QSvYqp28ifq/LyoSbHx8wCBri3i8bxQM7F2S
j9PcNsbQIRI3AK+A2W3fsa2h8NKw9m2dESd4/2Gf/cXPA+Z49au0BfwT1eOMZZ+t
tuH4tqOQiNpfygsQd5Um99TBzN6pu5J+rzuJt2H445OpcVxhgs9WjHepcSNQ2P7+
WF0g+OFAIuMwPRvKZZi+zU84z5EZB9gK0gWlOvI14ZJJ8oT3t1cnqG1VkTrfT/oT
/AI5nMvEom6vBhJRcxdqCwnGZ5bck8Mf6wFd82MvdZwd3+DqRtma4v/N7jpWmhvC
t6dEwCUoizVNDfmfSwRpV5/p1iGidy50cKqfrPB3BEoSM+ORHmk=
=VRQK
-----END PGP SIGNATURE-----


Closed
?
Your comment

This issue is archived.

To comment on this conversation send email to 51859@debbugs.gnu.org