Subject: [bug#36467] [PATCH 11/12] gnu: Add cl-octet-streams

From: Guillaume LE VAILLANT <[email-masked]>
Date: Tue, 2 Jul 2019 00:31:26 +0200

* gnu/packages/lisp.scm (sbcl-cl-octet-streams, cl-octet-streams): New
  variables.
---
 gnu/packages/lisp.scm | 30 ++++++++++++++++++++++++++++++
 1 file changed, 30 insertions(+)

diff --git a/gnu/packages/lisp.scm b/gnu/packages/lisp.scm
index 84663aebf0..94ebe813c5 100644
--- a/gnu/packages/lisp.scm
+++ b/gnu/packages/lisp.scm
@@ -6314,3 +6314,33 @@ can contain any kind of values.")
 
 (define-public cl-bst
   (sbcl-package->cl-source-package sbcl-bst))
+
+(define-public sbcl-cl-octet-streams
+  (package
+    (name "sbcl-cl-octet-streams")
+    (version "1.0")
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://github.com/glv2/cl-octet-streams.git")
+             (commit (string-append "v" version))))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32
+         "1d7mn6ydv0j2x4r7clpc9ijjwrnfpxmvhifv8n5j7jh7s744sf8d"))))
+    (build-system asdf-build-system/sbcl)
+    (native-inputs
+     `(("fiveam" ,sbcl-fiveam)))
+    (inputs
+     `(("trivial-gray-streams" ,sbcl-trivial-gray-streams)))
+    (synopsis "In-memory octet streams for Common Lisp")
+    (description
+     "cl-octet-streams is a library implementing in-memory octet streams for
+Common Lisp.  It was inspired by the trivial-octet-streams and cl-plumbing
+libraries.")
+    (home-page "https://github.com/glv2/cl-octet-streams")
+    (license license:gpl3+)))
+
+(define-public cl-octet-streams
+  (sbcl-package->cl-source-package sbcl-cl-octet-streams))
-- 
2.22.0