aboutsummaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorPierre Neidhardt <mail@ambrevar.xyz>2022-07-08 20:16:07 +0200
committerPierre Neidhardt <mail@ambrevar.xyz>2022-07-08 22:14:36 +0200
commitd7d23407213247d0173eabd2c769f2b98cef4fe9 (patch)
treeac76fbd44b2ef073d63c80bf1e6d0cac107f5571 /gnu
parent114b40ed675d0543058b5bdea86e561eff7c6b6e (diff)
downloadguix-d7d23407213247d0173eabd2c769f2b98cef4fe9.tar
guix-d7d23407213247d0173eabd2c769f2b98cef4fe9.tar.gz
gnu: Add binary-types.
* gnu/packages/lisp-xyz.scm (cl-binary-types, ecl-binary-types, sbcl-binary-types): New variables.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/lisp-xyz.scm29
1 files changed, 29 insertions, 0 deletions
diff --git a/gnu/packages/lisp-xyz.scm b/gnu/packages/lisp-xyz.scm
index 062de8c8e9..129b99e485 100644
--- a/gnu/packages/lisp-xyz.scm
+++ b/gnu/packages/lisp-xyz.scm
@@ -22646,3 +22646,32 @@ the Processing language and shares some of the API.")
(define-public ecl-sketch
(sbcl-package->ecl-package sbcl-sketch))
+
+(define-public sbcl-binary-types
+ (let ((commit "9ec42042a50403961c08179a892ae3de725b1d7a"))
+ (package
+ (name "sbcl-binary-types")
+ (version (git-version "1.2" "1" commit))
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/frodef/binary-types/")
+ (commit commit)))
+ (file-name (git-file-name "binary-types" version))
+ (sha256
+ (base32 "0kp4xwblfxh7gmgqc38k9xzrqlcr0q1jm5167ma1pajdxd3182j8"))))
+ (build-system asdf-build-system/sbcl)
+ (home-page "https://github.com/frodef/binary-types/")
+ (synopsis "Read and write binary records for Common Lisp")
+ (description
+ "Binary-types is a Common Lisp package for reading and writing binary
+files. Binary-types provides macros that are used to declare the mapping
+between Lisp objects and some binary (i.e. octet-based) representation.")
+ (license license:bsd-3))))
+
+(define-public cl-binary-types
+ (sbcl-package->cl-source-package sbcl-binary-types))
+
+(define-public ecl-binary-types
+ (sbcl-package->ecl-package sbcl-binary-types))