From patchwork Tue Jan 10 10:32:01 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Ludovic_Court=C3=A8s?= X-Patchwork-Id: 46014 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 D209E27BBED; Tue, 10 Jan 2023 10:53:37 +0000 (GMT) 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=ham 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 2BFE027BBE9 for ; Tue, 10 Jan 2023 10:53:37 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pFBwN-0005ue-Oa; Tue, 10 Jan 2023 05:33:11 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pFBwI-0005te-BG for guix-patches@gnu.org; Tue, 10 Jan 2023 05:33:06 -0500 Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pFBwE-00070G-Jn for guix-patches@gnu.org; Tue, 10 Jan 2023 05:33:04 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pFBwE-0006gH-FB for guix-patches@gnu.org; Tue, 10 Jan 2023 05:33:02 -0500 Subject: bug#60444: [PATCH] gnu: Add guile-scheme-json-rpc Resent-From: Ludovic =?utf-8?q?Court=C3=A8s?= Original-Sender: "Debbugs-submit" Resent-To: guix-patches@gnu.org Resent-Date: Tue, 10 Jan 2023 10:33:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: cc-closed 60444 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Abhishek Cherath Cc: 60444-done@debbugs.gnu.org Mail-Followup-To: 60444@debbugs.gnu.org, ludo@gnu.org, abhi@quic.us Received: via spool by 60444-done@debbugs.gnu.org id=D60444.167334673725602 (code D ref 60444); Tue, 10 Jan 2023 10:33:02 +0000 Received: (at 60444-done) by debbugs.gnu.org; 10 Jan 2023 10:32:17 +0000 Received: from localhost ([127.0.0.1]:38897 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pFBvV-0006er-7H for submit@debbugs.gnu.org; Tue, 10 Jan 2023 05:32:17 -0500 Received: from eggs.gnu.org ([209.51.188.92]:46118) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pFBvT-0006ea-Pb for 60444-done@debbugs.gnu.org; Tue, 10 Jan 2023 05:32:16 -0500 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pFBvN-0006oZ-Qx; Tue, 10 Jan 2023 05:32:09 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:In-Reply-To:Date:References:Subject:To: From; bh=v6LI8wPWFb3njdfPEGUS/XOjUutXT6N+Hb3dybIWcpE=; b=g+lPHvSvbcWw2iXYSGCK 99DDVLdZ7iAq11ykCVMFNyNR6T2HVo9l77qdWfVcJNqFjHyHGlqpQaxR82LHMmm4dsFW17QBusmQj 2yg2nVt2V+irBB12P+W3IJYQ1Gb3QNW08ztViAB0LQjl3c9Y+w+dCfTTMtbJUsxyeUliEvN3yJFGJ cApiOJP6IBHnYlcwTgKlPstJD0ZpT5Tk25KeYOeMLBZG190BfolnYDUGBx63ze9Sixh1Aw0R2o0si FQZr5DxHDvkYkerhrXGSAcwGk1arZXRtZ2TeckjiKBkApNZatZYU5VGQFIxpYWSxZpuzvZPIkxamT Jd7gT2QdQ54FvQ==; Received: from [2001:660:6102:320:e120:2c8f:8909:cdfe] (helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pFBvN-0004UQ-Aa; Tue, 10 Jan 2023 05:32:09 -0500 From: Ludovic =?utf-8?q?Court=C3=A8s?= References: <20221231072814.44746-1-abhi@quic.us> Date: Tue, 10 Jan 2023 11:32:01 +0100 In-Reply-To: <20221231072814.44746-1-abhi@quic.us> (Abhishek Cherath's message of "Sat, 31 Dec 2022 02:28:14 -0500") Message-ID: <87cz7mof32.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux) MIME-Version: 1.0 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-bounces+patchwork=mira.cbaines.net@gnu.org X-getmail-retrieved-from-mailbox: Patches Hi, Abhishek Cherath skribis: > * gnu/packages/guile-xyz.scm (guile-scheme-json-rpc): New variable. Applied with the cosmetic changes below: keeping a more conventional order for fields, and improving the description as per . Thanks, Ludo’. diff --git a/gnu/packages/guile-xyz.scm b/gnu/packages/guile-xyz.scm index 9866b60b16..3f84594014 100644 --- a/gnu/packages/guile-xyz.scm +++ b/gnu/packages/guile-xyz.scm @@ -1027,6 +1027,15 @@ (define-public guile-scheme-json-rpc (package (name "guile-scheme-json-rpc") (version (git-version version revision commit)) + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://codeberg.org/rgherdt/scheme-json-rpc.git") + (commit commit))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "0w4m8xx8yyj0rv0q57mjr8ja87l7yikscj33i3ck26wg7230ppa5")))) (build-system gnu-build-system) (arguments `(#:phases (modify-phases %standard-phases @@ -1035,21 +1044,13 @@ (define-public guile-scheme-json-rpc (chdir "guile")))))) (inputs (list guile-3.0 guile-json-3)) (native-inputs (list pkg-config)) - (source (origin - (method git-fetch) - (uri (git-reference - (url "https://codeberg.org/rgherdt/scheme-json-rpc.git") - (commit commit))) - (file-name (git-file-name name version)) - (sha256 - (base32 - "0w4m8xx8yyj0rv0q57mjr8ja87l7yikscj33i3ck26wg7230ppa5")))) - (synopsis "Library providing json-rpc capability in scheme") + (synopsis "Library providing JSON-RPC capability in Scheme") (description - "Experimental implementation of https://www.jsonrpc.org/specification, -allows for calling methods on remote servers by exchanging json objects.") - (license license:expat) - (home-page "https://codeberg.org/rgherdt/scheme-json-rpc/")))) + "This library implements parts of the +@uref{https://www.jsonrpc.org/specification,JSON-RPC specification}, allowing +for calling methods on remote servers by exchanging JSON objects.") + (home-page "https://codeberg.org/rgherdt/scheme-json-rpc/") + (license license:expat)))) (define-public guile-squee (let ((commit "a151fd006fa819945ca1d4749b173854269b9f70")