[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
18/67: gnu: Add nibbles.
From: |
Pierre Neidhardt |
Subject: |
18/67: gnu: Add nibbles. |
Date: |
Wed, 17 Oct 2018 04:20:15 -0400 (EDT) |
ambrevar pushed a commit to branch wip-next-browser2
in repository guix.
commit 2f571f2270133e540ded8fd0ad3cdbb65091e056
Author: Pierre Neidhardt <address@hidden>
Date: Fri Aug 24 12:09:51 2018 +0200
gnu: Add nibbles.
* gnu/packages/lisp.scm (cl-nibbles, ecl-nibbles, sbcl-nibbles): New
variables.
---
gnu/packages/lisp.scm | 43 +++++++++++++++++++++++++++++++++++++++++++
1 file changed, 43 insertions(+)
diff --git a/gnu/packages/lisp.scm b/gnu/packages/lisp.scm
index 0076e2a..5c08dc4 100644
--- a/gnu/packages/lisp.scm
+++ b/gnu/packages/lisp.scm
@@ -2066,3 +2066,46 @@ Common Lisp.")
(define-public ecl-rt
(sbcl-package->ecl-package sbcl-rt))
+
+(define-public sbcl-nibbles
+ (package
+ (name "sbcl-nibbles")
+ (version "0.14")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/sharplispers/nibbles/")
+ (commit (string-append "v" version))))
+ (sha256
+ (base32
+ "1v7qfgpvdr6nz7v63dj69d26dis0kff3rd8xamr1llfdvza2pm8f"))
+ (file-name (git-file-name "nibbles" version))))
+ (build-system asdf-build-system/sbcl)
+ (native-inputs
+ ;; Tests only.
+ `(("rt" ,sbcl-rt)))
+ (synopsis "Common Lisp library for accessing octet-addressed blocks of
data")
+ (description
+ "When dealing with network protocols and file formats, it's common to
+have to read or write 16-, 32-, or 64-bit datatypes in signed or unsigned
+flavors. Common Lisp sort of supports this by specifying :element-type for
+streams, but that facility is underspecified and there's nothing similar for
+read/write from octet vectors. What most people wind up doing is rolling their
+own small facility for their particular needs and calling it a day.
+
+This library attempts to be comprehensive and centralize such
+facilities. Functions to read 16-, 32-, and 64-bit quantities from octet
+vectors in signed or unsigned flavors are provided; these functions are also
+SETFable. Since it's sometimes desirable to read/write directly from streams,
+functions for doing so are also provided. On some implementations,
+reading/writing IEEE singles/doubles (i.e. single-float and double-float) will
+also be supported.")
+ (home-page "https://github.com/sharplispers/nibbles")
+ (license license:bsd-3)))
+
+(define-public cl-nibbles
+ (sbcl-package->cl-source-package sbcl-nibbles))
+
+(define-public ecl-nibbles
+ (sbcl-package->ecl-package sbcl-nibbles))
- 08/67: gnu: Add jpl-queues., (continued)
- 08/67: gnu: Add jpl-queues., Pierre Neidhardt, 2018/10/17
- 09/67: gnu: Add eos., Pierre Neidhardt, 2018/10/17
- 13/67: gnu: Add colorize., Pierre Neidhardt, 2018/10/17
- 16/67: gnu: Add cl-fad., Pierre Neidhardt, 2018/10/17
- 11/67: gnu: Add split-sequence., Pierre Neidhardt, 2018/10/17
- 15/67: gnu: Add 3bmd-ext-code-blocks., Pierre Neidhardt, 2018/10/17
- 17/67: gnu: Add rt., Pierre Neidhardt, 2018/10/17
- 12/67: gnu: Add html-encode., Pierre Neidhardt, 2018/10/17
- 10/67: gnu: Add esrap., Pierre Neidhardt, 2018/10/17
- 19/67: gnu: Add ironclad., Pierre Neidhardt, 2018/10/17
- 18/67: gnu: Add nibbles.,
Pierre Neidhardt <=
- 01/67: gnu: Add cl-strings., Pierre Neidhardt, 2018/10/17
- 20/67: gnu: Add named-readtables., Pierre Neidhardt, 2018/10/17
- 14/67: gnu: Add 3bmd., Pierre Neidhardt, 2018/10/17
- 24/67: gnu: Add cl-string-match., Pierre Neidhardt, 2018/10/17
- 23/67: gnu: Add ascii-strings., Pierre Neidhardt, 2018/10/17
- 22/67: gnu: Add mgl-pax., Pierre Neidhardt, 2018/10/17
- 21/67: gnu: Add pythonic-string-reader., Pierre Neidhardt, 2018/10/17
- 28/67: gnu: Add lisp-unit., Pierre Neidhardt, 2018/10/17
- 27/67: slime-swank (FIX), Pierre Neidhardt, 2018/10/17
- 26/67: gnu: Add sbcl-slime-swank., Pierre Neidhardt, 2018/10/17