unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
From: "Rémi Teissier" <rteissier.code@chillpc.fr>
To: 65662@debbugs.gnu.org
Cc: othacehe@gnu.org, "Rémi Teissier" <rteissier.code@chillpc.fr>
Subject: [bug#65662] [PATCH v1] gnu: Add antifennel.
Date: Wed,  1 Nov 2023 15:54:17 +0100	[thread overview]
Message-ID: <fd5766c1ccce4ce84f03cf9a9d3f3a4100789468.1698850457.git.rteissier.code@chillpc.fr> (raw)
In-Reply-To: <e3349ef4-a55b-4318-b030-668f7ce8d44c@chillpc.fr>

Change-Id: Ic1f3fbc4d73ebc30291f4b60e7e8d16942c6627d
---
 gnu/packages/lua.scm | 33 +++++++++++++++++++++++++++++++++
 1 file changed, 33 insertions(+)

diff --git a/gnu/packages/lua.scm b/gnu/packages/lua.scm
index 65cab6511c..1cde6bd66c 100644
--- a/gnu/packages/lua.scm
+++ b/gnu/packages/lua.scm
@@ -1269,6 +1269,39 @@ (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 luajit))
+    (arguments
+     (list
+      #:phases #~(modify-phases %standard-phases
+                   (delete 'configure)
+                   ;; Tests pass after the fix introduced by the commit
+                   ;; ecd2169fcad1fa6616fdf6e6a8569f5b866601e5
+                   (delete 'check)
+                   (replace 'install
+                     (lambda _
+                       (install-file "antifennel"
+                                     (string-append #$output "/bin")))))))
+    (home-page "https://git.sr.ht/~technomancy/antifennel")
+    (synopsis "Turn Lua code into Fennel code")
+    (description
+     "This package provides a way to turn Lua code into Fennel code.
+This compiler does the opposite of what the Fennel compiler does.")
+    (license license:expat)))
+
 (define-public fnlfmt
   (package
     (name "fnlfmt")

base-commit: 26565f1bc8548011bc0e1b821a9a957db1bc2d8f
-- 
2.41.0





      parent reply	other threads:[~2023-11-01 14:57 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-08-31 14:15 [bug#65662] [PATCH] gnu: Add antifennel Rémi Teissier
2023-10-26 13:04 ` Mathieu Othacehe
2023-11-01 15:09   ` Rémi Teissier
2023-11-24 17:13     ` bug#65662: " Mathieu Othacehe
2023-11-01 14:54 ` Rémi Teissier [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=fd5766c1ccce4ce84f03cf9a9d3f3a4100789468.1698850457.git.rteissier.code@chillpc.fr \
    --to=rteissier.code@chillpc.fr \
    --cc=65662@debbugs.gnu.org \
    --cc=othacehe@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).