From patchwork Thu Aug 31 14:15:51 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?R=C3=A9mi_Teissier?= X-Patchwork-Id: 53355 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 97AF427BBE9; Thu, 31 Aug 2023 22:51:14 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.7 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,SPF_HELO_PASS,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 1681A27BBE2 for ; Thu, 31 Aug 2023 22:51:13 +0100 (BST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qbpYm-0007cU-N5; Thu, 31 Aug 2023 17:50:40 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qbmzK-0001Mw-41 for guix-patches@gnu.org; Thu, 31 Aug 2023 15:05:54 -0400 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qbmzJ-0007yd-Qy for guix-patches@gnu.org; Thu, 31 Aug 2023 15:05:53 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qbmzS-0001Jn-95 for guix-patches@gnu.org; Thu, 31 Aug 2023 15:06:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#65662] [PATCH] gnu: Add antifennel. Resent-From: =?utf-8?b?UsOpbWk=?= Teissier Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 31 Aug 2023 19:06:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 65662 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 65662@debbugs.gnu.org X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.16935087505035 (code B ref -1); Thu, 31 Aug 2023 19:06:02 +0000 Received: (at submit) by debbugs.gnu.org; 31 Aug 2023 19:05:50 +0000 Received: from localhost ([127.0.0.1]:59217 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qbmzF-0001J7-US for submit@debbugs.gnu.org; Thu, 31 Aug 2023 15:05:50 -0400 Received: from lists.gnu.org ([2001:470:142::17]:40088) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qbiUo-0007Vm-21 for submit@debbugs.gnu.org; Thu, 31 Aug 2023 10:18:06 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qbiUZ-0000ta-MP for guix-patches@gnu.org; Thu, 31 Aug 2023 10:17:51 -0400 Received: from vps-1eeb809a.vps.ovh.net ([217.182.171.220] helo=mail.chillpc.fr) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qbiUW-0002dZ-8A for guix-patches@gnu.org; Thu, 31 Aug 2023 10:17:51 -0400 Received: from [192.168.0.103] (91-164-64-51.subs.proxad.net [91.164.64.51]) by mail.chillpc.fr (Postfix) with ESMTPSA id C592720001 for ; Thu, 31 Aug 2023 14:16:42 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=chillpc.fr; s=mail; t=1693491402; bh=qaXkgIM+1VArsKmonw8mbLmo8/z0gd3SsoL8Zhg3AQg=; h=Date:To:From:Subject:From; b=CiRwPz3F/sW07/arVrTi3dVUocfpyL3e97OiDx5W5QogGlg3le4tu2UQzaQVkxxgy AjmGbGUCuPM/zsJVKrHVF3UBZreujURngq6DU5CLgegO6rXVduYISQth1BzxP88dSf iymfmYeUOTG3tuEZYsgmrxwLv5UzVo4yXp4V4PFS0n+isYpOY7rF7QfsVEk/+QscFi fzbcnLz/ZzqGI7AAR33cwv2VNnkolR5t8R4vJMD6X3xRsSQ+zpZu9ieC7wDsevEhOk 2xhE/zSADWkvKv+ROjrKGlGHl98xE+UuyJWgTKCeexhHJVVC4ttCS960qfPYMTI1bK zNqMyddLMhNSQ== Message-ID: Date: Thu, 31 Aug 2023 16:15:51 +0200 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Content-Language: en-US From: =?utf-8?b?UsOpbWk=?= Teissier Received-SPF: pass client-ip=217.182.171.220; envelope-from=rteissier.code@chillpc.fr; helo=mail.chillpc.fr X-Spam_score_int: -16 X-Spam_score: -1.7 X-Spam_bar: - X-Spam_report: (-1.7 / 5.0 requ) BAYES_00=-1.9, DKIM_INVALID=0.1, DKIM_SIGNED=0.1, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no autolearn_force=no X-Spam_action: no action X-Mailman-Approved-At: Thu, 31 Aug 2023 15:05:48 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-Mailman-Approved-At: Thu, 31 Aug 2023 17:50:36 -0400 X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org X-getmail-retrieved-from-mailbox: Patches From c546257438e4e824ddf54351b77a754d2f466567 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9mi=20Teissier?= 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")