unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
From: cage <cage-dev@twistfold.it>
To: 58635@debbugs.gnu.org
Subject: [bug#58635] [PATCH] gnu: Add cl-trivial-sockets.
Date: Wed, 19 Oct 2022 16:44:04 +0200	[thread overview]
Message-ID: <Y1ANNICmUdMBQbjK@shimizu.casa.net> (raw)

---
 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




             reply	other threads:[~2022-10-19 14:46 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-10-19 14:44 cage [this message]
2022-10-20  8:08 ` bug#58635: [PATCH] gnu: Add cl-trivial-sockets Guillaume Le Vaillant

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=Y1ANNICmUdMBQbjK@shimizu.casa.net \
    --to=cage-dev@twistfold.it \
    --cc=58635@debbugs.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).