gnu: fennel: Update to 03c1c95.

* gnu/packages/lua.scm (fennel): Update to 03c1c95.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
This commit is contained in:
Brandon Lucas 2022-01-23 12:14:46 +00:00 committed by Ludovic Courtès
parent 532153d49c
commit 73d775f518
No known key found for this signature in database
GPG Key ID: 090B11993D9AEBB5

View File

@ -1178,18 +1178,24 @@ enabled.")
(license license:boost1.0))) (license license:boost1.0)))
(define-public fennel (define-public fennel
;; The 1.0.0 release had a bug where fennel installed under 5.4 no matter
;; what lua was used to compile it. There has since been an update that
;; corrects this issue, so we can rely on the version of the lua input to
;; determine where the fennel.lua file got installed to.
(let ((commit "03c1c95f2a79e45a9baf607f96a74c693b8b70f4")
(revision "0"))
(package (package
(name "fennel") (name "fennel")
(version "1.0.0") (version (git-version "1.0.0" revision commit))
(source (origin (source (origin
(method git-fetch) (method git-fetch)
(uri (git-reference (uri (git-reference
(url "https://git.sr.ht/~technomancy/fennel") (url "https://git.sr.ht/~technomancy/fennel")
(commit version))) (commit commit)))
(file-name (git-file-name name version)) (file-name (git-file-name name version))
(sha256 (sha256
(base32 (base32
"0d4rpf0f2aqxlca3kxrbhjjhf1knhiz8ccwlx8xid05mc16la70y")))) "1znp38h5q819gvcyl248zwvjsljfxdxdk8n82fnj6lyibiiqzgvx"))))
(build-system gnu-build-system) (build-system gnu-build-system)
(arguments (arguments
'(#:make-flags (list (string-append "PREFIX=" (assoc-ref %outputs "out"))) '(#:make-flags (list (string-append "PREFIX=" (assoc-ref %outputs "out")))
@ -1213,7 +1219,7 @@ enabled.")
"Fennel is a programming language that brings together the speed, "Fennel is a programming language that brings together the speed,
simplicity, and reach of Lua with the flexibility of a Lisp syntax and macro simplicity, and reach of Lua with the flexibility of a Lisp syntax and macro
system.") system.")
(license license:expat))) (license license:expat))))
(define-public fnlfmt (define-public fnlfmt
(package (package