Subject: [PATCH v2 2/3] gnu: Add cl-nontrivial-gray-streams.

From: Konrad Hinsen <[email-masked]>
Date: Tue, 26 Nov 2024 16:45:17 +0100

* gnu/packages/lisp-xyz.scm (cl-nontrivial-gray-streams,
ecl-nontrivial-gray-streams, sbcl-nontrivial-gray-streams):
New variables

Change-Id: I1d72e6bf5cb3c67e30d426d7a556de920a68119c
---
 gnu/packages/lisp-xyz.scm | 33 +++++++++++++++++++++++++++++++++
 1 file changed, 33 insertions(+)

diff --git a/gnu/packages/lisp-xyz.scm b/gnu/packages/lisp-xyz.scm
index c4b86f2646..1f0bb26a57 100644
--- a/gnu/packages/lisp-xyz.scm
+++ b/gnu/packages/lisp-xyz.scm
@@ -22907,6 +22907,39 @@ (define-public cl-nodgui
 (define-public ecl-nodgui
   (sbcl-package->ecl-package sbcl-nodgui))
 
+(define-public sbcl-nontrivial-gray-streams
+  (let ((commit "7ed842fe98f6ebafd472a5768e28d0c35f82114e")
+        (revision "0"))
+    (package
+      (name "sbcl-nontrivial-gray-streams")
+      (version (git-version "1.0.0" revision commit))
+      (source
+       (origin
+         (method git-fetch)
+         (uri (git-reference
+               (url "https://github.com/yitzchak/nontrivial-gray-streams")
+               (commit commit)))
+         (file-name (git-file-name "nontrivial-gray-streams" commit))
+         (sha256
+          (base32 "1x5b2fw3kr1227vr4hab08cls5f7rzz7kf31xinvafbl5hpd2ynf"))))
+      (build-system asdf-build-system/sbcl)
+      (native-inputs
+       (list sbcl-alexandria
+             sbcl-parachute))
+      (home-page "https://github.com/yitzchak/nontrivial-gray-streams")
+      (synopsis "Compatibility layer for Gray streams, including extensions")
+      (description
+       "nontrivial-gray-streams is a compatibility system for Gray streams,
+which is an extension to Common Lisp that makes it possible to implement
+Common Lisp streams using generic functions.")
+      (license license:expat))))
+
+(define-public cl-nontrivial-gray-streams
+  (sbcl-package->cl-source-package sbcl-nontrivial-gray-streams))
+
+(define-public ecl-nontrivial-gray-streams
+  (sbcl-package->ecl-package sbcl-nontrivial-gray-streams))
+
 (define-public sbcl-nsymbols
   (package
    (name "sbcl-nsymbols")
-- 
2.46.0