* [bug#58635] [PATCH] gnu: Add cl-trivial-sockets.
@ 2022-10-19 14:44 cage
2022-10-20 8:08 ` bug#58635: " Guillaume Le Vaillant
0 siblings, 1 reply; 2+ messages in thread
From: cage @ 2022-10-19 14:44 UTC (permalink / raw)
To: 58635
---
gnu/packages/lisp-xyz.scm | 31 +++++++++++++++++++++++++++++++
1 file changed, 31 insertions(+)
diff --git a/gnu/packages/lisp-xyz.scm b/gnu/packages/lisp-xyz.scm
index f23b4a70bb..50f2f91a77 100644
--- a/gnu/packages/lisp-xyz.scm
+++ b/gnu/packages/lisp-xyz.scm
@@ -4057,6 +4057,37 @@ (define-public cl-usocket
(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.git")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name "cl-usocket" version))
+ (sha256
+ (base32
+ "0xj9x5z3psxqap9c29qz1xswx5fiqxyzd35kmbw2g6z08cgb7nd0"))))
+ (build-system asdf-build-system/sbcl)
+ (arguments
+ `(#:tests? #f
+ #:asd-systems '("trivial-sockets")))
+ (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 service.")
+ (license license:x11)))
+
+(define-public cl-trivial-sockets
+ (sbcl-package->cl-source-package sbcl-trivial-sockets))
+
+(define-public ecl-trivial-sockets
+ (sbcl-package->ecl-package sbcl-trivial-sockets))
+
(define-public sbcl-s-xml
(package
(name "sbcl-s-xml")
--
2.34.0
^ permalink raw reply related [flat|nested] 2+ messages in thread
* bug#58635: [PATCH] gnu: Add cl-trivial-sockets.
2022-10-19 14:44 [bug#58635] [PATCH] gnu: Add cl-trivial-sockets cage
@ 2022-10-20 8:08 ` Guillaume Le Vaillant
0 siblings, 0 replies; 2+ messages in thread
From: Guillaume Le Vaillant @ 2022-10-20 8:08 UTC (permalink / raw)
To: cage; +Cc: 58635-done
[-- Attachment #1: Type: text/plain, Size: 197 bytes --]
Patch pushed as 4716cea6256523a8ecf90a426d675bfb7620f3e4 with a few
modifications. I didn't add the ecl-* variant because according to
"trivial-sockets.asd" the support for ECL is not implemented.
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 247 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2022-10-20 8:13 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-10-19 14:44 [bug#58635] [PATCH] gnu: Add cl-trivial-sockets cage
2022-10-20 8:08 ` bug#58635: " Guillaume Le Vaillant
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).