From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id WANbMO2+TF/LDgAA0tVLHw (envelope-from ) for ; Mon, 31 Aug 2020 09:12:13 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id 2bpVLO2+TF+zfQAAB5/wlQ (envelope-from ) for ; Mon, 31 Aug 2020 09:12:13 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 953469408FC for ; Mon, 31 Aug 2020 09:12:12 +0000 (UTC) Received: from localhost ([::1]:34784 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kCfrF-0004hz-68 for larch@yhetil.org; Mon, 31 Aug 2020 05:12:09 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:51742) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kCfr8-0004hf-Ml for guix-patches@gnu.org; Mon, 31 Aug 2020 05:12:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:39989) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kCfr8-00037N-E4 for guix-patches@gnu.org; Mon, 31 Aug 2020 05:12:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kCfr8-0004G1-77 for guix-patches@gnu.org; Mon, 31 Aug 2020 05:12:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#43119] [PATCH] gnu: Add guile-srfi-180. Resent-From: Martin Becze Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 31 Aug 2020 09:12:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 43119 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Mathieu Othacehe Cc: 43119@debbugs.gnu.org Received: via spool by 43119-submit@debbugs.gnu.org id=B43119.159886508516312 (code B ref 43119); Mon, 31 Aug 2020 09:12:02 +0000 Received: (at 43119) by debbugs.gnu.org; 31 Aug 2020 09:11:25 +0000 Received: from localhost ([127.0.0.1]:51533 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kCfqX-0004F2-8h for submit@debbugs.gnu.org; Mon, 31 Aug 2020 05:11:25 -0400 Received: from mx1.riseup.net ([198.252.153.129]:35712) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kCfqV-0004Eq-0d for 43119@debbugs.gnu.org; Mon, 31 Aug 2020 05:11:23 -0400 Received: from bell.riseup.net (bell-pn.riseup.net [10.0.1.178]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (Client CN "*.riseup.net", Issuer "Sectigo RSA Domain Validation Secure Server CA" (not verified)) by mx1.riseup.net (Postfix) with ESMTPS id 4Bg4FQ1RDvzDscQ; Mon, 31 Aug 2020 02:11:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=riseup.net; s=squak; t=1598865082; bh=xBg91uNSOWJn8HbcZd4MGWc2QkYcLcNgiDQfN+8c5QE=; h=Subject:To:Cc:References:From:Date:In-Reply-To:From; b=o9rnO+7iioLRTEL9IBGZrUkiWLRhbzmk/WbGADRyKjI/8DJilhRli9mBn8bjK2BB0 JT56lRds2GgL5LkINNQw0sjlP1tayuRzvPcfXpcx0oH/L2Hn0BTCNIquWFZXkzH22r 7q6ou5HjhMk29bCPopE67QdCEiYa3C0G2DqmJ5n8= X-Riseup-User-ID: CF4B65A0DB71966E896091848DD66F071DE291DB19F8681C98F5EFC986FEA5BB Received: from [127.0.0.1] (localhost [127.0.0.1]) by bell.riseup.net (Postfix) with ESMTPSA id 4Bg4FN5k01zJmgZ; Mon, 31 Aug 2020 02:11:20 -0700 (PDT) References: <20200830181145.2498-1-mjbecze@riseup.net> <87tuwjgrku.fsf@gnu.org> From: Martin Becze Message-ID: <6b0fa653-875a-fb86-305f-c9ef456f7e84@riseup.net> Date: Mon, 31 Aug 2020 04:11:15 -0500 MIME-Version: 1.0 In-Reply-To: <87tuwjgrku.fsf@gnu.org> Content-Type: multipart/mixed; boundary="------------9ACBEB0A0A27ADE96F3A35A5" Content-Language: en-US X-Spam-Score: -0.7 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-Spam-Score: -1.7 (-) X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: "Guix-patches" X-Scanner: scn0 Authentication-Results: aspmx1.migadu.com; dkim=fail (rsa verify failed) header.d=riseup.net header.s=squak header.b=o9rnO+7i; dmarc=fail reason="SPF not aligned (relaxed)" header.from=riseup.net (policy=none); spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Spam-Score: 0.09 X-TUID: EBlR2u6CjAmu This is a multi-part message in MIME format. --------------9ACBEB0A0A27ADE96F3A35A5 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit >> Do you think they could be fixed? Fixed in the attached patch. > Even though this description is a copy of the SRFI abstract, it seems a > bit vague. I would change "describes" to "implements" or "provides". The > affirmation "JSON bigger than memory" could also be expanded I think. I tried to spruce it up a bit. Thanks for the feedback! On 8/31/20 3:14 AM, Mathieu Othacehe wrote: > > Hey, > >>> * gnu/packages/guile-xyz.scm (guile-srfi-180): New variable. > > I'm getting a whole bunch of warnings when building srfi/180/body.scm, > such as: > > --8<---------------cut here---------------start------------->8--- > srfi/180/body.scm:237:11: warning: possibly unbound variable `textual-port?' > srfi/180/body.scm:198:4: warning: possibly unbound variable `eof-object' > srfi/180/body.scm:195:2: warning: possibly unbound variable `assume' > srfi/180/body.scm:191:23: warning: possibly unbound variable `make-json-error' > srfi/180/body.scm:190:29: warning: possibly unbound variable `make-json-error' > srfi/180/body.scm:186:16: warning: possibly unbound variable `valid-number?' > srfi/180/body.scm:167:29: warning: possibly unbound variable `make-json-error' > srfi/180/body.scm:146:59: warning: possibly unbound variable `bitwise-ior' > srfi/180/body.scm:111:15: warning: possibly unbound variable `make-json-error' > srfi/180/body.scm:106:15: warning: possibly unbound variable `make-json-error' > --8<---------------cut here---------------end--------------->8--- > > Do you think they could be fixed? > >>> + "This library describes a JavaScript Object Notation (JSON) parser and printer. >>> +It supports JSON that may be bigger than memory.") > > Even though this description is a copy of the SRFI abstract, it seems a > bit vague. I would change "describes" to "implements" or "provides". The > affirmation "JSON bigger than memory" could also be expanded I think. > > Thanks, > > Mathieu > --------------9ACBEB0A0A27ADE96F3A35A5 Content-Type: text/x-patch; charset=UTF-8; name="v2-0001-gnu-Add-guile-srfi-180.patch" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="v2-0001-gnu-Add-guile-srfi-180.patch" >From 8a32d9184911b6fb615cf42c5e54ae5c63e939e8 Mon Sep 17 00:00:00 2001 From: Martin Becze Date: Sun, 30 Aug 2020 13:06:14 -0500 Subject: [PATCH v2] gnu: Add guile-srfi-180. * gnu/packages/guile-xyz.scm (guile-srfi-180): New variable. --- gnu/packages/guile-xyz.scm | 40 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 40 insertions(+) diff --git a/gnu/packages/guile-xyz.scm b/gnu/packages/guile-xyz.scm index fd16304f3f..a21b14eb59 100644 --- a/gnu/packages/guile-xyz.scm +++ b/gnu/packages/guile-xyz.scm @@ -2888,6 +2888,46 @@ formatting combinators specified by more expressive and flexible than the traditional @code{format} procedure.") (license license:bsd-3)))) +(define-public guile-srfi-180 + (let ((commit "9188bf9724c6d320ef804579d222e855b007b193") + (revision "0") + (url "https://github.com/scheme-requests-for-implementation/srfi-180.git")) + (package + (name "guile-srfi-180") + (version (git-version "0" revision commit)) + (source + (origin + (method git-fetch) + (uri (git-reference + (commit commit) + (url url))) + (sha256 + (base32 + "08lf70rsak8mwfij55xc37pg9zg7c87fizmhz7ln46skzj68sl3y")) + (modules '((guix build utils))) + (snippet + '(begin + (delete-file-recursively "srfi/files") + (delete-file "srfi/run-r7rs-checks.guile.scm") + (delete-file "srfi/run-r7rs-checks.scm") + (delete-file "srfi/check.scm") + #t)) + (file-name (git-file-name name version)))) + (build-system guile-build-system) + (arguments + '(#:not-compiled-file-regexp "body\\.scm$")) + (native-inputs + `(("guile" ,guile-3.0))) + (propagated-inputs + `(("guile-srfi-145" ,guile-srfi-145))) + (home-page "https://srfi.schemers.org/srfi-180/") + (synopsis "JSON parser and printer for Guile") + (description + "This library implements a JavaScript Object Notation (JSON) parser and printer. +It also supports parsing JSON objects that may be bigger than memory with a streaming +API.") + (license license:expat)))) + (define-public emacsy (package (name "emacsy") -- 2.28.0 --------------9ACBEB0A0A27ADE96F3A35A5--