GNU bug report logs - #65662
[PATCH] gnu: Add antifennel.

Previous Next

Package: guix-patches;

Reported by: Rémi Teissier <rteissier.code <at> chillpc.fr>

Date: Thu, 31 Aug 2023 19:06:02 UTC

Severity: normal

Tags: patch

Done: Mathieu Othacehe <othacehe <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: Mathieu Othacehe <othacehe <at> gnu.org>
Cc: tracker <at> debbugs.gnu.org
Subject: bug#65662: closed ([PATCH] gnu: Add antifennel.)
Date: Fri, 24 Nov 2023 17:14:02 +0000
[Message part 1 (text/plain, inline)]
Your message dated Fri, 24 Nov 2023 18:13:03 +0100
with message-id <87ttpboz1c.fsf <at> gnu.org>
and subject line Re: [bug#65662] [PATCH] gnu: Add antifennel.
has caused the debbugs.gnu.org bug report #65662,
regarding [PATCH] gnu: Add antifennel.
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs <at> gnu.org.)


-- 
65662: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=65662
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Rémi Teissier <rteissier.code <at> chillpc.fr>
To: guix-patches <at> gnu.org
Subject: [PATCH] gnu: Add antifennel.
Date: Thu, 31 Aug 2023 16:15:51 +0200
From c546257438e4e824ddf54351b77a754d2f466567 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?R=C3=A9mi=20Teissier?= <rteissier.code <at> chillpc.fr>
Date: Thu, 31 Aug 2023 15:17:28 +0200
Subject: [PATCH] gnu: Add antifennel.

---
 gnu/packages/lua.scm | 31 +++++++++++++++++++++++++++++++
 1 file changed, 31 insertions(+)

diff --git a/gnu/packages/lua.scm b/gnu/packages/lua.scm
index 405f8511cb..9f80b2017c 100644
--- a/gnu/packages/lua.scm
+++ b/gnu/packages/lua.scm
@@ -1226,6 +1226,37 @@ (define-public fennel
 system.")
     (license license:expat)))

+(define-public antifennel
+  (package
+    (version "0.2.0")
+    (name "antifennel")
+    (source (origin
+              (method git-fetch)
+              (uri (git-reference
+                    (url "https://git.sr.ht/~technomancy/antifennel")
+                    (commit version)))
+              (sha256
+               (base32
+ "1hd9h17q31b3gg88c657zq4han4air2ag55rrakbmcpy6n8acsqc"))
+              (file-name (git-file-name name version))))
+    (build-system gnu-build-system)
+    (inputs (list lua luajit))
+    (arguments
+     '(#:phases (modify-phases %standard-phases
+                  (delete 'configure)
+                  (delete 'check)
+                  (replace 'install
+                    (lambda* (#:key outputs #:allow-other-keys)
+                      (let ((bin (string-append (assoc-ref outputs "out")
+                                                "/bin")))
+                        (install-file "antifennel" bin)))))))
+    (home-page "https://git.sr.ht/~technomancy/antifennel")
+    (synopsis "Turn Lua code into Fennel code")
+    (description
+     "Turn Lua code into Fennel code. This compiler does the opposite
+     of what the Fennel compiler does.")
+    (license (list license:expat))))
+
 (define-public fnlfmt
   (package
     (name "fnlfmt")
-- 
2.40.1




[Message part 3 (message/rfc822, inline)]
From: Mathieu Othacehe <othacehe <at> gnu.org>
To: Rémi Teissier <rteissier.code <at> chillpc.fr>
Cc: 65662-done <at> debbugs.gnu.org
Subject: Re: [bug#65662] [PATCH] gnu: Add antifennel.
Date: Fri, 24 Nov 2023 18:13:03 +0100
Hello,

> Let me know if I did it right, I tried to adapt grepped example in the project.
>
> I kinda rushed it at my first try. I hope it is good enough now :)

That's perfect, thanks for your patience.

Applied,

Mathieu


This bug report was last modified 1 year and 182 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.