From patchwork Wed Oct 19 14:44:04 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: GNU Guix Live X-Patchwork-Id: 43715 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 9AC2927BBEA; Wed, 19 Oct 2022 15:46:25 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-3.7 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,RCVD_IN_MSPIKE_H2,SPF_HELO_PASS, URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 5623B27BBE9 for ; Wed, 19 Oct 2022 15:46:25 +0100 (BST) Received: from localhost ([::1]:46218 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1olAKu-0004xQ-EY for patchwork@mira.cbaines.net; Wed, 19 Oct 2022 10:46:24 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:34998) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1olAJb-0004w9-3n for guix-patches@gnu.org; Wed, 19 Oct 2022 10:45:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:60594) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1olAJa-0004zm-Ri for guix-patches@gnu.org; Wed, 19 Oct 2022 10:45:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1olAJa-0005ng-Gw for guix-patches@gnu.org; Wed, 19 Oct 2022 10:45:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#58635] [PATCH] gnu: Add cl-trivial-sockets. Resent-From: cage Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 19 Oct 2022 14:45:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 58635 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 58635@debbugs.gnu.org X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.166619068522231 (code B ref -1); Wed, 19 Oct 2022 14:45:02 +0000 Received: (at submit) by debbugs.gnu.org; 19 Oct 2022 14:44:45 +0000 Received: from localhost ([127.0.0.1]:59666 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1olAJG-0005mR-E2 for submit@debbugs.gnu.org; Wed, 19 Oct 2022 10:44:45 -0400 Received: from lists.gnu.org ([209.51.188.17]:43874) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1olAIz-0005m4-SG for submit@debbugs.gnu.org; Wed, 19 Oct 2022 10:44:40 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:45642) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1olAIz-0004jf-MM for guix-patches@gnu.org; Wed, 19 Oct 2022 10:44:25 -0400 Received: from smtpcmd12132.aruba.it ([62.149.156.132]:58282) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1olAIs-0004xH-Pt for guix-patches@gnu.org; Wed, 19 Oct 2022 10:44:25 -0400 Received: from shimizu.casa.net ([94.34.14.131]) by Aruba Outgoing Smtp with ESMTPSA id lAInoMST4ae4mlAIno7AnA; Wed, 19 Oct 2022 16:44:14 +0200 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=aruba.it; s=a1; t=1666190654; bh=omAAQS+GoLlcQ7RgjgFvxpi+JEFITBpcYw0it/toAOo=; h=Date:From:To:Subject:MIME-Version:Content-Type; b=NqrK+DLyywhoS7aK5hGrFjz4D4VN5f6YKqrfNRcmProC22Y9nBLbKbbEIf0qmpfiq IhDVnFXvxs7Um+B903EojcGncTPtRPKxfJDMziyYuc3xhc5G+ejQAbkqXyLNLiu/jt yRH2QSvNxc/ZDknjHWZvj3cVQkM3rtynHiGwHhlE84VMhPxdQQO0LoOoW92ssvbIZv eJR9jq5UaPAaXoOh1mq1IiXZZafffuusWM3MgqzS1C2S14EoLct6P265kg8sYkeV1f Bqcydq7QDMyvSrvAK9ScjYJ7FG7ZDCupTMT3vP2DIcgHVYTisHChlU+TPbYr+4AFca +uogJEO40LNbQ== Received: by shimizu.casa.net (Postfix, from userid 1000) id 671F5DA020B; Wed, 19 Oct 2022 16:44:04 +0200 (CEST) Date: Wed, 19 Oct 2022 16:44:04 +0200 From: cage Message-ID: MIME-Version: 1.0 Content-Disposition: inline X-CMAE-Envelope: MS4xfFcHLvLnEuMUAeKFHRAWNbnA2eYFodUQByvJtuGyUNFLYV9nZkUAWyeO2N2S0zUQtj6FOxsjMwi2bbBqJaaFUs5kMPYYGqNctc+UKALINFi1paBdnjOa 7xf6vIIAMVSJUhQ3CcOWa6g78okh16xsTZKEXGhB/gXtktjCiMn/DbpzFIRygUBxkRaO71FQX4Bbww== Received-SPF: none client-ip=62.149.156.132; envelope-from=cage-dev@twistfold.it; helo=smtpcmd12132.aruba.it X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, DKIMWL_WL_MED=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_NONE=0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" X-getmail-retrieved-from-mailbox: Patches --- gnu/packages/lisp-xyz.scm | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) --- 2.34.0 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")