summary refs log tree commit diff
diff options
context:
space:
mode:
authorPierre Neidhardt <mail@ambrevar.xyz>2018-11-25 13:32:49 +0100
committerPierre Neidhardt <mail@ambrevar.xyz>2018-11-25 13:54:47 +0100
commit79dc47c9c937ecf08680dace26cca029d7de4a2e (patch)
tree3a606a6755b682cac0bb79851969ed2e2f6b2ca9
parentbe01e79caa2fdf5ff66adf31a1edf071d2f830ca (diff)
downloadguix-79dc47c9c937ecf08680dace26cca029d7de4a2e.tar.gz
gnu: Add usocket.
* gnu/packages/lisp.scm (cl-usocket, ecl-usocket, sbcl-usocket): New variables.
-rw-r--r--gnu/packages/lisp.scm18
1 files changed, 18 insertions, 0 deletions
diff --git a/gnu/packages/lisp.scm b/gnu/packages/lisp.scm
index 359f8376d5..06d1e6fe46 100644
--- a/gnu/packages/lisp.scm
+++ b/gnu/packages/lisp.scm
@@ -3640,3 +3640,21 @@ the abstraction and portability layer as thin as possible.")
 
 (define-public ecl-socket-server
   (sbcl-package->ecl-package sbcl-usocket-server))
+
+(define-public sbcl-usocket
+  (package
+    (inherit sbcl-usocket-boot0)
+    (name "sbcl-usocket")
+    (arguments
+     ;; FIXME: Tests need network access?
+     `(#:tests? #f))
+    (native-inputs
+     ;; Testing only.
+     `(("usocket-server" ,sbcl-usocket-server)
+       ("rt" ,sbcl-rt)))))
+
+(define-public cl-usocket
+  (sbcl-package->cl-source-package sbcl-usocket))
+
+(define-public ecl-socket
+  (sbcl-package->ecl-package sbcl-usocket))