From 4716cea6256523a8ecf90a426d675bfb7620f3e4 Mon Sep 17 00:00:00 2001 From: cage Date: Wed, 19 Oct 2022 16:44:04 +0200 Subject: gnu: Add cl-trivial-sockets. * gnu/packages/lisp-xyz.scm (cl-trivial-sockets, sbcl-trivial-sockets): New variables. Signed-off-by: Guillaume Le Vaillant --- gnu/packages/lisp-xyz.scm | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) (limited to 'gnu/packages/lisp-xyz.scm') 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 @@ (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/") + (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") -- cgit v1.2.3