[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#45271: closed ([PATCH] gnu: Add Fennel)
From: |
GNU bug Tracking System |
Subject: |
bug#45271: closed ([PATCH] gnu: Add Fennel) |
Date: |
Sat, 26 Dec 2020 20:38:02 +0000 |
Your message dated Sat, 26 Dec 2020 22:36:23 +0200
with message-id <X+eex3UDrJ5QwIiS@3900XT>
and subject line Re: [bug#45271] [PATCH] gnu: Add Fennel
has caused the debbugs.gnu.org bug report #45271,
regarding [PATCH] gnu: Add Fennel
to be marked as done.
(If you believe you have received this mail in error, please contact
help-debbugs@gnu.org.)
--
45271: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=45271
GNU Bug Tracking System
Contact help-debbugs@gnu.org with problems
--- Begin Message ---
Subject: |
[PATCH] gnu: Add Fennel |
Date: |
Wed, 16 Dec 2020 17:05:34 +0000 |
* 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=" (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 macro
+system.")
+ (license license:expat)))
--
2.29.2
--- End Message ---
--- Begin Message ---
Subject: |
Re: [bug#45271] [PATCH] gnu: Add Fennel |
Date: |
Sat, 26 Dec 2020 22:36:23 +0200 |
With your comment about feneelview.lua being pre-compiled I moved it to
a source snippet and pushed the patch. Thanks!
--
Efraim Flashner <efraim@flashner.co.il> אפרים פלשנר
GPG key = A28B F40C 3E55 1372 662D 14F7 41AA E7DC CA3D 8351
Confidentiality cannot be guaranteed on emails sent or received unencrypted
signature.asc
Description: PGP signature
--- End Message ---
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- bug#45271: closed ([PATCH] gnu: Add Fennel),
GNU bug Tracking System <=