all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* [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

* bug#57465: [PATCH] gnu: Add cl-safe-read.
  2022-08-28 20:28 [bug#57465] [PATCH] gnu: Add cl-safe-read jgart via Guix-patches via
@ 2022-08-29 14:03 ` Guillaume Le Vaillant
  0 siblings, 0 replies; 2+ messages in thread
From: Guillaume Le Vaillant @ 2022-08-29 14:03 UTC (permalink / raw)
  To: jgart; +Cc: 57465-done

[-- Attachment #1: Type: text/plain, Size: 141 bytes --]

Patch pushed as 3aac843826877b2131e17f61ee7290e537b751a8 with local-time
and trivial-garbage in 'inputs' instead of 'native-inputs'.
Thanks.

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 247 bytes --]

^ permalink raw reply	[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 external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.