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: Mathieu Othacehe <othacehe <at> gnu.org>
To: Rémi Teissier <rteissier.code <at> chillpc.fr>
Cc: 65662 <at> debbugs.gnu.org
Subject: [bug#65662] [PATCH] gnu: Add antifennel.
Date: Thu, 26 Oct 2023 15:04:17 +0200
Hello,

Sorry for the delay!

>  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.
>

You are missing a commit message here. It should look like:

* gnu/packages/lua.scm (antifennel): New package.

> +               (base32
> + "1hd9h17q31b3gg88c657zq4han4air2ag55rrakbmcpy6n8acsqc"))

The indentation seems off here.

> +              (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)

Are tests disabled because there are no tests or because there are not
passing. If we are in the first case you can specify it with a simple
comment such as ;no tests.

> +                  (replace 'install
> +                    (lambda* (#:key outputs #:allow-other-keys)
> +                      (let ((bin (string-append (assoc-ref outputs "out")
> +                                                "/bin")))

The preferred way now is to use gexp, meaning that you can directly
write:

(install-file "antifennel" #$output)

> +    (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.")

It would be nice to expand a bit the description and use sentences, such
as: This package provides a way to turn Lua code into Fennel code by...

> +    (license (list license:expat))))

You don't need a list if there is just one license :)

Could you please send an updated patch?

Don't hesitate if you need some guidance!

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.