From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id oACrGEN6nGZjMQAAe85BDQ:P1 (envelope-from ) for ; Sun, 21 Jul 2024 03:02:27 +0000 Received: from aspmx1.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2.migadu.com with LMTPS id oACrGEN6nGZjMQAAe85BDQ (envelope-from ) for ; Sun, 21 Jul 2024 05:02:27 +0200 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1721530947; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:resent-cc:resent-from:resent-sender: resent-message-id:in-reply-to:in-reply-to:references:references: list-id:list-help:list-unsubscribe:list-subscribe:list-post; bh=iO3TBjNe105NLMBF7crwgzi3+rAzbOTrsxpk8eGjzmQ=; b=KzNy0FEjWbxsN0LRqxRg0zt2GD7KsvMSn+/T+kq6HNOSeRlO1ereKH10qqubkDLD4Bpn/J IKRD7qR6K8bS0SBz3utYMQhQZCqpqBW3seR0XmMDgJhNpfY5n/nvEtWbh7WGGUJKi2BN7a Tuh4JY7j8y4+QK0g8hbxznTem9rrqb1hTKGgXPSQwMLv4A6VcmAUaRpqLo9nbwNB9YAbo5 pw57VP0oAsICHUJmpM9+ZJkKlYPsDer3Uy0ogd0/7TojeLtVNQwtms/xnTf0jj+nyCUeAs RzhA3YORyspp78OKczh1ENq/FgtBzDtMaXDiVu5+DI54qJWz5Qpr9aTwGK9r4g== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1721530947; a=rsa-sha256; cv=none; b=nnhBgpe4eOCXqvr2VuPL4cL8hL0fEKJaZ4X6kUU6M7DbSDgSkhq+aLEz3c59RJk8KrQYaV 8DmobdQFlsFVcsXzpcGIGjLeEHI6eR/uSWMFB0P2D2NG10dfwh8CVZ/IYGNtSVKyYLippL qwFZEyIQrh4o4+5EcFI24X7rbVcJoN5hJ9j0ZNsQB30bJhh9CFFNnaq6QK/VqzoNhN6joB Ni6NNllrsApOaYt+wl1efsdx/FHsymLjTrUIGfEoFo1fkLq+7kli+jSTWg03BiiHzTkPif e2GlyikRJsi/7xUGJVDvoHMswe7g7Lttt1XfjCFkWX3jfiRUXm7lxP9GNfJEXA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" 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 CCE8C66831 for ; Sun, 21 Jul 2024 05:02:25 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sVMpo-0003YP-GX; Sat, 20 Jul 2024 23:02:04 -0400 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 1sVMpl-0003Xh-Ix for guix-patches@gnu.org; Sat, 20 Jul 2024 23:02:01 -0400 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1sVMpl-0003Wd-7s for guix-patches@gnu.org; Sat, 20 Jul 2024 23:02:01 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1sVMpl-0008Sy-Ob for guix-patches@gnu.org; Sat, 20 Jul 2024 23:02:01 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#71359] [PATCH] gnu: Add unsyntax. Resent-From: Zheng Junjie Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 21 Jul 2024 03:02:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 71359 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 71359@debbugs.gnu.org Cc: whatson@tailcall.au X-Debbugs-Original-To: Andrew Whatson via Guix-patches via X-Debbugs-Original-Cc: Andrew Whatson , 71359@debbugs.gnu.org Received: via spool by submit@debbugs.gnu.org id=B.172153088832504 (code B ref -1); Sun, 21 Jul 2024 03:02:01 +0000 Received: (at submit) by debbugs.gnu.org; 21 Jul 2024 03:01:28 +0000 Received: from localhost ([127.0.0.1]:54597 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sVMpD-0008SB-Ks for submit@debbugs.gnu.org; Sat, 20 Jul 2024 23:01:28 -0400 Received: from lists.gnu.org ([209.51.188.17]:36948) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sVMpB-0008S3-MV for submit@debbugs.gnu.org; Sat, 20 Jul 2024 23:01:26 -0400 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 1sVMpA-0003VB-Av for guix-patches@gnu.org; Sat, 20 Jul 2024 23:01:24 -0400 Received: from smtp81.cstnet.cn ([159.226.251.81] helo=cstnet.cn) by eggs.gnu.org with esmtps (TLS1.2:DHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.90_1) (envelope-from ) id 1sVMp7-0003LP-Gl for guix-patches@gnu.org; Sat, 20 Jul 2024 23:01:24 -0400 Received: from m (unknown [64.176.166.156]) by APP-03 (Coremail) with SMTP id rQCowAB3nwLieZxmlDAbAA--.7375S2; Sun, 21 Jul 2024 11:01:01 +0800 (CST) From: Zheng Junjie In-Reply-To: <6faff8d80d23b950be727e9ca2ea7560ab28b9ed.1717492971.git.whatson@tailcall.au> (Andrew Whatson via Guix-patches via's message of "Tue, 4 Jun 2024 19:22:52 +1000") References: <6faff8d80d23b950be727e9ca2ea7560ab28b9ed.1717492971.git.whatson@tailcall.au> Date: Sun, 21 Jul 2024 11:00:49 +0800 Message-ID: <87sew35tzy.fsf@iscas.ac.cn> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" X-CM-TRANSID: rQCowAB3nwLieZxmlDAbAA--.7375S2 X-Coremail-Antispam: 1UD129KBjvJXoWxXw1UCF45ZFy5Jr4rGFyDZFb_yoWrKFWrpr yfJa4rGw48Xr93XFs3Wr4jg3W3u3s3tFW0qa43Cry7trW5K3yxAFWjqan8A3W7Aw1xJw43 uw1qgrnxGFyUZrJanT9S1TB71UUUUU7qnTZGkaVYY2UrUUUUjbIjqfuFe4nvWSU5nxnvy2 9KBjDU0xBIdaVrnRJUUUvmb7Iv0xC_Kw4lb4IE77IF4wAFF20E14v26r1j6r4UM7CY07I2 0VC2zVCF04k26cxKx2IYs7xG6rWj6s0DM7CIcVAFz4kK6r1j6r18M28lY4IEw2IIxxk0rw A2F7IY1VAKz4vEj48ve4kI8wA2z4x0Y4vE2Ix0cI8IcVAFwI0_Ar0_tr1l84ACjcxK6xII jxv20xvEc7CjxVAFwI0_Cr0_Gr1UM28EF7xvwVC2z280aVAFwI0_GcCE3s1l84ACjcxK6I 8E87Iv6xkF7I0E14v26rxl6s0DM2vj62AExVA0xI801c8C04v26x02cVCv0xWle2I262IY c4CY6c8Ij28IcVAaY2xG8wASzI0EjI02j7AqF2xKxwAqx4xG64xvF2IEw4CE5I8CrVC2j2 WlYx0E2Ix0cI8IcVAFwI0_Jr0_Jr4lYx0Ex4A2jsIE14v26r1j6r4UMcvjeVCFs4IE7xkE bVWUJVW8JwACjcxG0xvEwIxGrwCF04k20xvY0x0EwIxGrwCFx2IqxVCFs4IE7xkEbVWUJV W8JwC20s026c02F40E14v26r1j6r18MI8I3I0E7480Y4vE14v26r106r1rMI8E67AF67kF 1VAFwI0_Jrv_JF1lIxkGc2Ij64vIr41lIxAIcVC0I7IYx2IY67AKxVWUJVWUCwCI42IY6x IIjxv20xvEc7CjxVAFwI0_Jr0_Gr1lIxAIcVCF04k26cxKx2IYs7xG6r1j6r1xMIIF0xvE x4A2jsIE14v26r1j6r4UMIIF0xvEx4A2jsIEc7CjxVAFwI0_Jr0_GrUvcSsGvfC2KfnxnU UI43ZEXa7IUeAHUPUUUUU== X-Originating-IP: [64.176.166.156] X-CM-SenderInfo: x2kh0wxmxqyx3h6l2u1dvotugofq/ Received-SPF: pass client-ip=159.226.251.81; envelope-from=zhengjunjie@iscas.ac.cn; helo=cstnet.cn 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, SPF_HELO_PASS=-0.001, SPF_PASS=-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+larch=yhetil.org@gnu.org Sender: guix-patches-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Spam-Score: -5.71 X-Spam-Score: -5.71 X-Migadu-Queue-Id: CCE8C66831 X-Migadu-Scanner: mx11.migadu.com X-TUID: uMZtlw745Lhm --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Andrew Whatson via Guix-patches via writes: > * gnu/packages/scheme.scm (unsyntax): New variable. > > Change-Id: If00a41e98d2a261af063cecd61e21a7bbc3f91ee > --- > gnu/packages/scheme.scm | 59 ++++++++++++++++++++++++++++++++++++++++- > 1 file changed, 58 insertions(+), 1 deletion(-) > > diff --git a/gnu/packages/scheme.scm b/gnu/packages/scheme.scm > index 47754800f9..419467fdf0 100644 > --- a/gnu/packages/scheme.scm > +++ b/gnu/packages/scheme.scm > @@ -20,7 +20,7 @@ > ;;; Copyright =C2=A9 2022 Morgan Smith > ;;; Copyright =C2=A9 2022 jgart > ;;; Copyright =C2=A9 2022 Robby Zambito > -;;; Copyright =C2=A9 2023 Andrew Whatson > +;;; Copyright =C2=A9 2023, 2024 Andrew Whatson > ;;; Copyright =C2=A9 2023 Juliana Sims > ;;; Copyright =C2=A9 2023 Maxim Cournoyer > ;;; Copyright =C2=A9 2024 Skylar Hill > @@ -62,6 +62,7 @@ (define-module (gnu packages scheme) > #:use-module (gnu packages base) > #:use-module (gnu packages bash) > #:use-module (gnu packages bdw-gc) > + #:use-module (gnu packages build-tools) > #:use-module (gnu packages compression) > #:use-module (gnu packages databases) > #:use-module (gnu packages emacs) > @@ -81,15 +82,18 @@ (define-module (gnu packages scheme) > #:use-module (gnu packages lisp-check) > #:use-module (gnu packages lisp-xyz) > #:use-module (gnu packages m4) > + #:use-module (gnu packages man) > #:use-module (gnu packages multiprecision) > #:use-module (gnu packages ncurses) > #:use-module (gnu packages netpbm) > #:use-module (gnu packages pcre) > + #:use-module (gnu packages perl) > #:use-module (gnu packages pkg-config) > #:use-module (gnu packages sqlite) > #:use-module (gnu packages tex) > #:use-module (gnu packages texinfo) > #:use-module (gnu packages tls) > + #:use-module (gnu packages version-control) > #:use-module (gnu packages xorg) > #:use-module (srfi srfi-1) > #:use-module (ice-9 match)) > @@ -618,6 +622,59 @@ (define-public chibi-scheme > threads.") > (license bsd-3))) >=20=20 > +(define-public unsyntax > + (let ((commit "144772eeef4a812dd79515b67010d33ad2e7e890") > + (revision "0")) > + (package > + (name "unsyntax") > + (version (git-version "0.0.3" revision commit)) > + (home-page "https://www.unsyntax.org") HOME-PAGE should move before SYNOPSIS. > + (source > + (origin > + (method git-fetch) > + (uri (git-reference > + (url "https://gitlab.com/nieper/unsyntax.git") > + (commit commit))) > + (file-name (git-file-name name version)) > + (sha256 > + (base32 "1ia58xdrywsm0dg19kmkghnrgw6gj2bsaypyjmbpirrila73cqk0"= )))) > + (build-system gnu-build-system) > + (arguments > + (list #:make-flags > + #~(list "gl_public_submodule_commit=3D") ; disable submodul= e checks > + #:phases > + #~(modify-phases %standard-phases > + (add-before 'bootstrap 'prepare-bootstrap > + (lambda _ > + ;; Unsyntax relies on bootstrap to fetch gnulib, we= use > + ;; the sources from guix's gnulib package instead. > + (copy-recursively (getenv "GNULIB_SRCDIR") ".gnulib= ") > + (setenv "GNULIB_SRCDIR" ".gnulib") > + (patch-shebang ".gnulib/gnulib-tool") > + (patch-shebang ".gnulib/build-aux/bootstrap") > + (patch-shebang ".gnulib/build-aux/git-version-gen") > + (patch-shebang ".gnulib/build-aux/prefix-gnulib-mk") > + ;; The bootstrap_sync option updates the bootstrap = script > + ;; and runs it with CONFIG_SHELL, make sure it's co= rrect. > + (setenv "CONFIG_SHELL" (which "sh")) > + ;; Tell git-version-gen the correct version number. > + (call-with-output-file ".tarball-version" > + (lambda (port) > + (display #$version port)))))))) > + (native-inputs > + (list autoconf automake libtool git gnulib help2man perl texinfo)) > + (propagated-inputs > + (list chibi-scheme)) why must add chibi-scheme to propagated-inputs? If necessary, please add a = comment to indicate this > + (synopsis "Expander for R7RS programs") > + (description > + "Unsyntax is an implementation of the Scheme programming language, > +specifically of its R7RS standard, and includes a number of extensions. > +Unsyntax evaluates Scheme expressions and compiles and runs Scheme progr= ams by > +first expanding them into a minimal dialect of R7RS (small) without any > +syntactic extensions. The resulting expression or program is then evalu= ated > +by an existing Scheme implementation.") > + (license expat)))) > + > (define-public sicp > (let ((commit "bda03f79d6e2e8899ac2b5ca6a3732210e290a79") > (revision "3")) > > base-commit: 5d3edff1a604414a3c42b89fcbc007e9d573993d --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCgAdFiEEfr6klGDOXiwIdX/bO1qpk+Gi3/AFAmaceeEACgkQO1qpk+Gi 3/CmGhAAp7gZcRGZHwLBop7zxWaEu+LC25AynbcrHgwPf5LlWXWSF/GLzgwfeYeC 60KGbea1UA6WGakUyD5dgU3PLahMuVIivStbLgn7qjiiCh3bxmkbR4N09PN/xxgr ar78g0h4D629zKxz13HrsQqFrlCqhvuHxit4OYi3LIXiQxyVEY9GR97H1aFOte4q 3xW0AtzBPeWq30kPqyfr78U1y+TfziULpPmK1wl10cp3cirIKuoIL4Ctk4DHP1Xm Eu33nW1bHyhXrja22KLCfe7KNzL5blPr8km9LFHSH2zLn7BCHA4pFagSr6tpJ54P wJ4elzQ71QaOnaMxCodDFQ7E4m3U+twUIdgpCysy5rn4kdHEryLGy6vECZ1vzWMC XOkjKas/wqfTg47orfeW1RjM2C/VaLNqluNbvJLg1MbxlztmiVsbJX2hKaitsP9e dqbk7YNR+2unoIR2v+vqqC4KQWAXjfB0yYMj2xNPDYK1W85+lUMLoDxMdZdaupVS KIFKcypplB976FHr7DhFmFx9ux9NkdmgGJUCBW4stV2PZF5zqzw+J6dwlv/bFPKp hnN5uuYDnBDGKFQ2ptq6z+SQuo/mE9MKgh6Q61723hpETZl7NpioUwLb+JhkwfLB HXiC2+oBn8zaDAMM9O8c21xDMGovK0qXPOF8l0YP7I5uDNyetWs= =Qwnv -----END PGP SIGNATURE----- --=-=-=--