From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1.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 kL8YODYGY2e2xwAA62LTzQ:P1 (envelope-from ) for ; Wed, 18 Dec 2024 17:28:23 +0000 Received: from aspmx1.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1.migadu.com with LMTPS id kL8YODYGY2e2xwAA62LTzQ (envelope-from ) for ; Wed, 18 Dec 2024 18:28:23 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=debbugs.gnu.org header.s=debbugs-gnu-org header.b=Zle16NQC; dkim=fail ("headers rsa verify failed") header.d=gnu.org header.s=fencepost-gnu-org header.b=Z3ILQCb0; 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"; dmarc=pass (policy=none) header.from=gnu.org ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1734542902; 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: content-transfer-encoding:content-transfer-encoding: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:dkim-signature; bh=gvMOf5kMWvZe0znZI9gONfFUHNoCarhZUs+EazMVXes=; b=fJIh5prtjDhomQWnD3pdCTtn6n7Oe5zFqSmc7vNGdFghME9qUTdiSS8UV1ikXY7TBEGK1u ruoMPJaglItgToS2d+0VylyBriybrKpwCnYeS+dZsXl1dTIH4L8pGuXiM5NfL70Srt6wSI WVVwC5QO0+HcPUy1La3Oh7yMev1jIeHeW7sWXddn8B084lgb9mJl1XTFSd6QLBbZfstfFC cP/Vax5Yp1NLGpNd6JnVvfcxhnGgFuRVP98eq/l3RuTjd3bAzwI7IT1W3oen4SpxheG1GA eCfJUNQyE2yyE5rL5TBn9O3dSo0Rc2eNWM8ihpnHLBvbI6H/UlvvHVdAk5Y+AQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1734542902; a=rsa-sha256; cv=none; b=YY23qsLDn5VE7toxd8ZaABcEPtm1GALjB0D0ogrzbAOQ+kEa0qskBwD2yAIWCcqqsrSBFQ 5y8664b6nDFIeu+DIUrfXkTN9v53+T5eU5tIvHMyVvs2h6X2OsH1YSBkLXQubxL0wU1QpM TttHbBak40DVBvoqgnDIQe7AMBQDz3vu7D9iDx6lxqeCKiFPnKfJaJJ+Z9+i5STMrWt6Jp qC12+Tu7WGDAfFl/DDXqZ8gTHrWgKsmpV0kJVnyTFpvUfu+dZwjaRyJldaN+uxtNluqIpW ceed+EnZAPdD8C6HT/NJVrpMaNeMXGrfY5UniD3opVLLHTwc59L/fk6OmNzV6A== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=debbugs.gnu.org header.s=debbugs-gnu-org header.b=Zle16NQC; dkim=fail ("headers rsa verify failed") header.d=gnu.org header.s=fencepost-gnu-org header.b=Z3ILQCb0; 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"; dmarc=pass (policy=none) header.from=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 E43304310D for ; Wed, 18 Dec 2024 18:28:21 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tNxqB-0004mz-5P; Wed, 18 Dec 2024 12:28:07 -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 1tNxq8-0004j1-Ul for guix-patches@gnu.org; Wed, 18 Dec 2024 12:28:04 -0500 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 1tNxq7-0001DE-ME for guix-patches@gnu.org; Wed, 18 Dec 2024 12:28:04 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=MIME-Version:Date:References:In-Reply-To:From:To:Subject; bh=gvMOf5kMWvZe0znZI9gONfFUHNoCarhZUs+EazMVXes=; b=Zle16NQCgJ913UDX3eyw6Jz+82ABsY2yr89H1X1rvlEA9sHWO68fN46kzByItaPDlK3k+fXMOCBkfJQFcyf//6jtaFVpBc9m9uJ2uYWaAq/dwqT6zKL5E0i/jHJF7K+n7/yUwQjcu1Bm/pRswtbsYh4kk9Y9Qcfjoc8h3x/EJGTP/HTLkBj5v+0DZpZB+FwEqhH+VXNqicaxVssirLc3xCtnlbvyGLIz8yS2qtRcq900BCfiKWGFQkBoj9zZcXgWzoM8QkWGwYhOB6RmepOQCFG75SQ6UlptQWPTdGMPl55QG5eQVPh8du1SiCv3kUwYLsG4YMiCFYaHHCuXGwvF7Q==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1tNxq6-0007Lu-Fi for guix-patches@gnu.org; Wed, 18 Dec 2024 12:28:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#71359] [PATCH] gnu: Add unsyntax. Resent-From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 18 Dec 2024 17:28:02 +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: whatson@tailcall.au Cc: Zheng Junjie , 71359@debbugs.gnu.org Received: via spool by 71359-submit@debbugs.gnu.org id=B71359.173454284828201 (code B ref 71359); Wed, 18 Dec 2024 17:28:02 +0000 Received: (at 71359) by debbugs.gnu.org; 18 Dec 2024 17:27:28 +0000 Received: from localhost ([127.0.0.1]:35823 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tNxpX-0007Kl-M4 for submit@debbugs.gnu.org; Wed, 18 Dec 2024 12:27:28 -0500 Received: from eggs.gnu.org ([209.51.188.92]:45988) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tNxpU-0007KU-2Y for 71359@debbugs.gnu.org; Wed, 18 Dec 2024 12:27:25 -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 1tNxpL-0000rz-Ac; Wed, 18 Dec 2024 12:27:15 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:Date:References:In-Reply-To:Subject:To: From; bh=gvMOf5kMWvZe0znZI9gONfFUHNoCarhZUs+EazMVXes=; b=Z3ILQCb0K0FLb2+y/yUG u55mTBxROt2uqnOQk0iOZj9+VJ5PJQ6m7O3Fpj8PqDsWDCNvaHAecJioBS5lq1sZ83mNtBKrzfI6a 3I67V84k6QsNTSN/95ph9GvrLsBe9yljR5HNwzA92f0wEMoNt5pifC+snhAd2CS2yM7jB0MU/4ccF NUWwIiHU5GRvckObNyiBfER3OnZKBfZjGIMUqdN9DtQGsYxR4WSRVObbGKt44HVkutdKsO0sw4cIR PHprW/DCz/PVhywCmL6Dj+GbevHnahKKBYECt6PpL/WWNFvqOPejevUalDS/vLcR6/EIz11ZLWmfm Y1yVxuKJdOEr+A==; From: Ludovic =?UTF-8?Q?Court=C3=A8s?= In-Reply-To: <87sew35tzy.fsf@iscas.ac.cn> (Zheng Junjie's message of "Sun, 21 Jul 2024 11:00:49 +0800") References: <6faff8d80d23b950be727e9ca2ea7560ab28b9ed.1717492971.git.whatson@tailcall.au> <87sew35tzy.fsf@iscas.ac.cn> Date: Wed, 18 Dec 2024 18:26:33 +0100 Message-ID: <8734ikkily.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable 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-Scanner: mx11.migadu.com X-Migadu-Spam-Score: -8.41 X-Spam-Score: -8.41 X-Migadu-Queue-Id: E43304310D X-TUID: 5d4Be7RdBLJf Hi Andrew, Friendly reminder that we=E2=80=99re awaiting feedback from you on this pat= ch. https://issues.guix.gnu.org/71359 Ludo=E2=80=99. Zheng Junjie skribis: > 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 submodu= le checks >> + #:phases >> + #~(modify-phases %standard-phases >> + (add-before 'bootstrap 'prepare-bootstrap >> + (lambda _ >> + ;; Unsyntax relies on bootstrap to fetch gnulib, w= e use >> + ;; the sources from guix's gnulib package instead. >> + (copy-recursively (getenv "GNULIB_SRCDIR") ".gnuli= b") >> + (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 c= orrect. >> + (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 languag= e, >> +specifically of its R7RS standard, and includes a number of extensions. >> +Unsyntax evaluates Scheme expressions and compiles and runs Scheme prog= rams by >> +first expanding them into a minimal dialect of R7RS (small) without any >> +syntactic extensions. The resulting expression or program is then eval= uated >> +by an existing Scheme implementation.") >> + (license expat)))) >> + >> (define-public sicp >> (let ((commit "bda03f79d6e2e8899ac2b5ca6a3732210e290a79") >> (revision "3")) >> >> base-commit: 5d3edff1a604414a3c42b89fcbc007e9d573993d