summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gnu/packages/chez.scm44
1 files changed, 24 insertions, 20 deletions
diff --git a/gnu/packages/chez.scm b/gnu/packages/chez.scm
index 441f8702b7d..72116cd73a6 100644
--- a/gnu/packages/chez.scm
+++ b/gnu/packages/chez.scm
@@ -7,6 +7,7 @@
7;;; Copyright © 2021-2025 Philip McGrath <philip@philipmcgrath.com> 7;;; Copyright © 2021-2025 Philip McGrath <philip@philipmcgrath.com>
8;;; Copyright © 2024 Ashish SHUKLA <ashish.is@lostca.se> 8;;; Copyright © 2024 Ashish SHUKLA <ashish.is@lostca.se>
9;;; Copyright © 2025 Zhu Zihao <all_but_last@163.com> 9;;; Copyright © 2025 Zhu Zihao <all_but_last@163.com>
10;;; Copyright © 2026 Anderson Torres <anderson.torres.8519@gmail.com>
10;;; 11;;;
11;;; This file is part of GNU Guix. 12;;; This file is part of GNU Guix.
12;;; 13;;;
@@ -1391,28 +1392,31 @@ libraries providing most of the functionality of the original.")
1391 (url "https://github.com/cosmos72/schemesh") 1392 (url "https://github.com/cosmos72/schemesh")
1392 (commit (string-append "v" version)))) 1393 (commit (string-append "v" version))))
1393 (file-name (git-file-name name version)) 1394 (file-name (git-file-name name version))
1394 (sha256 (base32 "1z45xpgh2s6xfgimsjhnwkp0hh8lnaynxlbry9dvqfss0g1vh0iw")))) 1395 (sha256
1396 (base32 "1z45xpgh2s6xfgimsjhnwkp0hh8lnaynxlbry9dvqfss0g1vh0iw"))))
1395 (build-system gnu-build-system) 1397 (build-system gnu-build-system)
1396 (arguments 1398 (arguments
1397 (list #:tests? #f 1399 (list
1398 #:phases 1400 ;; INFO: Tests are executed unconditionally, and are not fatal.
1399 #~(modify-phases %standard-phases 1401 ;; TODO: Report upstream.
1400 (add-after 'unpack 'patch-Makefile 1402 #:tests? #f
1401 (lambda _ 1403 #:make-flags
1402 (substitute* "Makefile" 1404 #~(list
1403 (("CC=cc") 1405 (string-append "prefix=" #$output)
1404 (string-append "CC=" #$(cc-for-target))) 1406 (string-append "CC=" #$(cc-for-target)))
1405 (("^(prefix[^/]*)/.*" all prefix) 1407 #:phases
1406 (string-append prefix #$output "\n"))))) 1408 #~(modify-phases %standard-phases
1407 (delete 'configure)))) 1409 (delete 'configure))))
1408 (inputs (list chez-scheme 1410 (inputs
1409 lz4 1411 (list chez-scheme
1410 zlib 1412 lz4
1411 ncurses 1413 ncurses
1412 `(,util-linux "lib"))) 1414 `(,util-linux "lib")
1415 zlib))
1413 (home-page "https://github.com/cosmos72/schemesh") 1416 (home-page "https://github.com/cosmos72/schemesh")
1414 (synopsis "Unix shell and Lisp REPL, fused together") 1417 (synopsis "Unix shell and Lisp REPL, fused together")
1415 (description "Schemesh is an interactive shell scriptable in Lisp. It 1418 (description
1416supports interactive line editing, autocompletion, history and the familiar Unix 1419 "Schemesh is an interactive shell scriptable in Lisp. It supports
1417shell syntax.") 1420interactive line editing, autocompletion, history and the familiar Unix shell
1421syntax.")
1418 (license license:gpl2))) 1422 (license license:gpl2)))