* [bug#57465] [PATCH] gnu: Add cl-safe-read.
@ 2022-08-28 20:28 jgart via Guix-patches via
2022-08-29 14:03 ` bug#57465: " Guillaume Le Vaillant
0 siblings, 1 reply; 2+ messages in thread
From: jgart via Guix-patches via @ 2022-08-28 20:28 UTC (permalink / raw)
To: 57465; +Cc: jgart
* gnu/packages/lisp-xyz.scm (cl-safe-read): New variable.
---
gnu/packages/lisp-xyz.scm | 31 +++++++++++++++++++++++++++++++
1 file changed, 31 insertions(+)
diff --git a/gnu/packages/lisp-xyz.scm b/gnu/packages/lisp-xyz.scm
index 27d53449e6..5789bf3405 100644
--- a/gnu/packages/lisp-xyz.scm
+++ b/gnu/packages/lisp-xyz.scm
@@ -22762,6 +22762,37 @@ (define-public ecl-trivial-custom-debugger
;; Tests fail on ECL: https://github.com/phoe/trivial-custom-debugger/issues/3
'(#:tests? #f))))
+(define-public sbcl-safe-read
+ (let ((commit "d25f08597b34d7aaeb86b045d57f7b020a5bb5f0")
+ (revision "0"))
+ (package
+ (name "sbcl-safe-read")
+ (version (git-version "0.1" revision commit))
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/phoe/safe-read")
+ (commit commit)))
+ (file-name (git-file-name "safe-read" version))
+ (sha256
+ (base32 "1r9k8danfnqgpbn2vb90n6wdc6jd92h1ig565yplrbh6232lhi26"))))
+ (build-system asdf-build-system/sbcl)
+ (native-inputs
+ (list sbcl-local-time sbcl-trivial-garbage))
+ (home-page "https://github.com/phoe/safe-read/")
+ (synopsis "A safer variant of READ")
+ (description
+"This package provides a safer variant of @code{READ} secure against
+internbombing, excessive input and macro characters. ")
+ (license license:bsd-2))))
+
+(define-public cl-safe-read
+ (sbcl-package->cl-source-package sbcl-safe-read))
+
+(define-public ecl-safe-read
+ (sbcl-package->ecl-package sbcl-safe-read))
+
(define-public sbcl-ospm
(package
(name "sbcl-ospm")
--
2.37.2
^ permalink raw reply related [flat|nested] 2+ messages in thread
end of thread, other threads:[~2022-08-29 14:06 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-08-28 20:28 [bug#57465] [PATCH] gnu: Add cl-safe-read jgart via Guix-patches via
2022-08-29 14:03 ` bug#57465: " Guillaume Le Vaillant
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).