From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id wCUtASBv2l/OGgAA0tVLHw (envelope-from ) for ; Wed, 16 Dec 2020 20:33:36 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id mPQONx9v2l9JQAAA1q6Kng (envelope-from ) for ; Wed, 16 Dec 2020 20:33:35 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id A38E39403E8 for ; Wed, 16 Dec 2020 20:33:35 +0000 (UTC) Received: from localhost ([::1]:49666 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kpdUM-0001Mn-LA for larch@yhetil.org; Wed, 16 Dec 2020 15:33:34 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:43064) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kpaGU-000789-BV for guix-patches@gnu.org; Wed, 16 Dec 2020 12:07:02 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:50303) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kpaGU-0005rr-1F for guix-patches@gnu.org; Wed, 16 Dec 2020 12:07:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kpaGT-0006Tn-Sw for guix-patches@gnu.org; Wed, 16 Dec 2020 12:07:01 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#45271] [PATCH] gnu: Add Fennel Resent-From: "Paul A. Patience" Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 16 Dec 2020 17:07:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 45271 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 45271@debbugs.gnu.org X-Debbugs-Original-To: "guix-patches@gnu.org" Received: via spool by submit@debbugs.gnu.org id=B.160813841824895 (code B ref -1); Wed, 16 Dec 2020 17:07:01 +0000 Received: (at submit) by debbugs.gnu.org; 16 Dec 2020 17:06:58 +0000 Received: from localhost ([127.0.0.1]:33616 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kpaGP-0006TS-OT for submit@debbugs.gnu.org; Wed, 16 Dec 2020 12:06:58 -0500 Received: from lists.gnu.org ([209.51.188.17]:42816) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kpaFQ-0006RZ-T2 for submit@debbugs.gnu.org; Wed, 16 Dec 2020 12:05:58 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:42752) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kpaFP-0005Mr-Jq for guix-patches@gnu.org; Wed, 16 Dec 2020 12:05:55 -0500 Received: from mail-40136.protonmail.ch ([185.70.40.136]:60692) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kpaFL-0005Qf-1i for guix-patches@gnu.org; Wed, 16 Dec 2020 12:05:55 -0500 Date: Wed, 16 Dec 2020 17:05:34 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=apatience.com; s=protonmail2; t=1608138345; bh=6oE6SGZGQuRNf9LyqiIbWUfwsdZmNyfA5ww0euwNtyY=; h=Date:To:From:Reply-To:Subject:From; b=dMg1y7QvMtzN9GU2RJ411dKDsJM5rg5+FZxst87ElFPHEPV9vYQzk/UFLjK/cvbhz lO5AuvAQk8Riy4nEwWfWS6DdVu7xCWhX0Jr+4VovyLeIicamXQGwAjRc7wF9WGVAPk r32f75N7p7ROLCEyashXVpZoQhuM4jaNKqizxNUb85jLUmbbUKyXwWVCWNRxCTx/fL pmRrOOIJczKOv7rRm7t863ZDZaEA/IlApe+HSTJpd5D6+E995xA+tCoQtkOqk+/Nzt vSvoXTlXAFLU3gAVvQnMx3PmryeQQ4XSQMrrwyJIqeAhMSRD+MHSfvdmcQIWh7t8Wf bRt0eQ/jNzzFw== From: "Paul A. Patience" Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=185.70.40.136; envelope-from=paul@apatience.com; helo=mail-40136.protonmail.ch X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Mailman-Approved-At: Wed, 16 Dec 2020 12:06:56 -0500 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-Mailman-Approved-At: Wed, 16 Dec 2020 15:33:10 -0500 X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: "Paul A. Patience" Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: "Guix-patches" X-Migadu-Flow: FLOW_IN X-Migadu-Spam-Score: -1.31 Authentication-Results: aspmx1.migadu.com; dkim=fail (headers rsa verify failed) header.d=apatience.com header.s=protonmail2 header.b=dMg1y7Qv; dmarc=none; spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Queue-Id: A38E39403E8 X-Spam-Score: -1.31 X-Migadu-Scanner: scn0.migadu.com X-TUID: OSixPEBnJBEB * gnu/packages/lua.scm (fennel): New variable. --- gnu/packages/lua.scm | 37 +++++++++++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) diff --git a/gnu/packages/lua.scm b/gnu/packages/lua.scm index 5d6da69fae..cd4ff4a29a 100644 --- a/gnu/packages/lua.scm +++ b/gnu/packages/lua.scm @@ -1061,3 +1061,40 @@ signals to Linux processes.") (description "This package provides Lua module for nonblocking system shell command executions.") (license license:bsd-3))) + +(define-public fennel + (package + (name "fennel") + (version "0.7.0") + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://git.sr.ht/~technomancy/fennel") + (commit version))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "17pdcwhfw754fblppw46qphnsvxrn3b7066cz54lv8c0c12iryim")))) + (build-system gnu-build-system) + (arguments + '(#:make-flags (list (string-append "PREFIX=3D" (assoc-ref %outputs "= out"))) + #:test-target "test" + #:phases + (modify-phases %standard-phases + (delete 'configure) + (add-before 'build 'delete-fennelview + ;; The repository bundles a precompiled fennelview.lua. + (lambda _ (delete-file "fennelview.lua") #t)) + (add-after 'build 'patch-fennel + (lambda _ + (substitute* "fennel" + (("/usr/bin/env lua") (which "lua"))) + #t))))) + (inputs `(("lua" ,lua))) + (home-page "https://fennel-lang.org/") + (synopsis "A Lisp that compiles to Lua") + (description + "Fennel is a programming language that brings together the speed, +simplicity, and reach of Lua with the flexibility of a Lisp syntax and mac= ro +system.") + (license license:expat))) -- 2.29.2