aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages
diff options
context:
space:
mode:
authorcage <cage-dev@twistfold.it>2022-10-19 16:44:04 +0200
committerGuillaume Le Vaillant <glv@posteo.net>2022-10-20 10:04:05 +0200
commit4716cea6256523a8ecf90a426d675bfb7620f3e4 (patch)
tree72e81a056efa5e7b30dffc7c0511b51749e1f275 /gnu/packages
parent16d4ded6302c0650978203d0df83614896c453e8 (diff)
downloadguix-4716cea6256523a8ecf90a426d675bfb7620f3e4.tar.gz
guix-4716cea6256523a8ecf90a426d675bfb7620f3e4.zip
gnu: Add cl-trivial-sockets.
* gnu/packages/lisp-xyz.scm (cl-trivial-sockets, sbcl-trivial-sockets): New variables. Signed-off-by: Guillaume Le Vaillant <glv@posteo.net>
Diffstat (limited to 'gnu/packages')
-rw-r--r--gnu/packages/lisp-xyz.scm24
1 files changed, 24 insertions, 0 deletions
diff --git a/gnu/packages/lisp-xyz.scm b/gnu/packages/lisp-xyz.scm
index d1605abcaa..b474a0f2b7 100644
--- a/gnu/packages/lisp-xyz.scm
+++ b/gnu/packages/lisp-xyz.scm
@@ -4057,6 +4057,30 @@ the abstraction and portability layer as thin as possible.")
(define-public ecl-usocket
(sbcl-package->ecl-package sbcl-usocket))
+(define-public sbcl-trivial-sockets
+ (package
+ (name "sbcl-trivial-sockets")
+ (version "0.4")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/usocket/trivial-sockets/")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name "cl-trivial-sockets" version))
+ (sha256
+ (base32 "0xj9x5z3psxqap9c29qz1xswx5fiqxyzd35kmbw2g6z08cgb7nd0"))))
+ (build-system asdf-build-system/sbcl)
+ (home-page "https://github.com/usocket/trivial-sockets")
+ (synopsis "Simple socket library for Common Lisp")
+ (description
+ "This library is a portable socket interface that allows CL programs to
+open connected (client) stream sockets to network services.")
+ (license license:expat)))
+
+(define-public cl-trivial-sockets
+ (sbcl-package->cl-source-package sbcl-trivial-sockets))
+
(define-public sbcl-s-xml
(package
(name "sbcl-s-xml")