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 ms0.migadu.com with LMTPS id mIteNxualmD1wAAAgWs5BA (envelope-from ) for ; Sat, 08 May 2021 16:03:07 +0200 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 8PMBMxualmACLgAAB5/wlQ (envelope-from ) for ; Sat, 08 May 2021 14:03:07 +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 95510DD5C for ; Sat, 8 May 2021 16:03:07 +0200 (CEST) Received: from localhost ([::1]:44928 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lfNXu-0006Ko-Or for larch@yhetil.org; Sat, 08 May 2021 10:03:06 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:37904) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lfNXq-0006Fm-FZ for guix-patches@gnu.org; Sat, 08 May 2021 10:03:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:38942) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lfNXq-0001V0-8W for guix-patches@gnu.org; Sat, 08 May 2021 10:03:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lfNXq-0001jo-5b for guix-patches@gnu.org; Sat, 08 May 2021 10:03:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#48287] [PATCH] gnu: Add guile-raw-strings. Resent-From: Xinglu Chen Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sat, 08 May 2021 14:03:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 48287 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 48287@debbugs.gnu.org X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.16204825236656 (code B ref -1); Sat, 08 May 2021 14:03:01 +0000 Received: (at submit) by debbugs.gnu.org; 8 May 2021 14:02:03 +0000 Received: from localhost ([127.0.0.1]:50484 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lfNWt-0001jI-GT for submit@debbugs.gnu.org; Sat, 08 May 2021 10:02:03 -0400 Received: from lists.gnu.org ([209.51.188.17]:44934) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lfNWs-0001jB-8V for submit@debbugs.gnu.org; Sat, 08 May 2021 10:02:02 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:37656) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lfNWs-0004tE-1M for guix-patches@gnu.org; Sat, 08 May 2021 10:02:02 -0400 Received: from h87-96-130-155.cust.a3fiber.se ([87.96.130.155]:47716 helo=mail.yoctocell.xyz) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lfNWm-0000so-BV for guix-patches@gnu.org; Sat, 08 May 2021 10:02:01 -0400 From: Xinglu Chen DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=yoctocell.xyz; s=mail; t=1620482511; bh=bpk04A8Gv+jUgbL+p25EFRhV8YIOmT6uqJxaARn7Nn4=; h=From:To:Subject:Date; b=lt6q95QtQEinTv2rwCl/i9n3VxCc8lYefg33W1gmLfLoqmCHuDhbiARKVurmrDdL7 6m6Iu6X+ZzKc7ywI9jEVbzptprIB6HHYbRNS/Mehawn331zQBHi6c5YYLMZV8LAkIF 7GA3bkUl03t3mL8038FZVn39XAFYNkQbV9tsGnE4= Message-Id: <97bc884cb5366248ad26aaac6a4c573a4a159a7d.1620482502.git.public@yoctocell.xyz> Date: Sat, 08 May 2021 16:01:50 +0200 MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=87.96.130.155; envelope-from=public@yoctocell.xyz; helo=mail.yoctocell.xyz X-Spam_score_int: 34 X-Spam_score: 3.4 X-Spam_bar: +++ X-Spam_report: (3.4 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FROM_SUSPICIOUS_NTLD=0.498, FROM_SUSPICIOUS_NTLD_FP=1.997, PDS_OTHER_BAD_TLD=1.997, RDNS_DYNAMIC=0.982, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no 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" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1620482587; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type:resent-cc:resent-from:resent-sender: resent-message-id:list-id:list-help:list-unsubscribe:list-subscribe: list-post:dkim-signature; bh=fb5lMhy5PqKpR5hEiPsOh47satHkQWFcpW+ultVBQ7w=; b=Zce4Tl+i2EFXQ7O3brjMTAjTcakbInDqTfH+aZ2jZ0bFl+VFDvH/g++8kFjGAdh4CHVZP9 S1wq9TpcXbJxDJPZh6ocOuqeHrZMRja6iYdSiQq8NRhuYMIX8atMH74w+Zr21q8quEBkWh iOSYkPwDfDbJLgtZyZcLa2XKnSnvrWiEPOUmpRLtqcW2JcmhhczZB+CFJklx6zlyCuVNfc cKwDB9E2omjnujb3VhvC45+BAluSAetuMJs0C4HleF3YGO1f26p/aBoe96CVf7Y5fqmTLA i+v7VLVHMhLOb2ZsEV5AL70R76+EHb+JJWrvFkEafP15RdBVI/mag5+ckFLS5w== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1620482587; a=rsa-sha256; cv=none; b=QR/8lHbIffUCUmWa/AmdVGqCwS1ZPR+ILnuEIVgq9/k6Eagxarirh+h5yETajE/AOHSMPQ 7L6MsNzNVosqMw2yI8ey/n/Mqsg/aHFFodHUOdDiM5MEcnHRBN91bNecHFQGzuEcArhHTZ Gx8bMAXk2NA+r7fTNpPUoMsjTb3lyU+JsTSsAcG6UJ3/Ws/k8YZD/1+sF+QD9jw3dQDW2b AvZfnGZazyaoFTclHiM4hPWyjThQkiAM0ax4HhmIpk7Unp8LD+xUTEoI5/Td1gbzhM81Cm rVTYsTyY8myaakj8FV4LdYqWqB6Cgu7rtsxyqICyM+FnyNc0Rfo8aIiyknNN6A== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=yoctocell.xyz header.s=mail header.b=lt6q95Qt; dmarc=fail reason="SPF not aligned (relaxed)" header.from=yoctocell.xyz (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-Migadu-Spam-Score: -0.35 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=yoctocell.xyz header.s=mail header.b=lt6q95Qt; dmarc=fail reason="SPF not aligned (relaxed)" header.from=yoctocell.xyz (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-Migadu-Queue-Id: 95510DD5C X-Spam-Score: -0.35 X-Migadu-Scanner: scn0.migadu.com X-TUID: ja4ggWLBmw8I * gnu/packages/guile-xyz.scm (guile-raw-strings): New variable. --- gnu/packages/guile-xyz.scm | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) diff --git a/gnu/packages/guile-xyz.scm b/gnu/packages/guile-xyz.scm index f908fb8a3b..f596defe44 100644 --- a/gnu/packages/guile-xyz.scm +++ b/gnu/packages/guile-xyz.scm @@ -2106,6 +2106,37 @@ microAdapton. Both miniAdapton and microAdapton are designed to be easy to understand, extend, and port to host languages other than Scheme.") (license license:expat)))) +(define-public guile-raw-strings + (let ((commit "aa1cf783f2542811b473f797e12490920b779baa") + (revision "0")) + (package + (name "guile-raw-strings") + (version (git-version "0.0.0" revision commit)) + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/lloda/guile-raw-strings") + (commit commit))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "1r2gx86zw5hb6byllra3nap3fw9p7q7rvdmg6qn9myrdxyjpns3l")))) + (build-system guile-build-system) + (arguments + `(#:phases + (modify-phases %standard-phases + (add-after 'build 'check + (lambda _ + (invoke "guile" "-L" "." "-s" "test.scm")))))) + (native-inputs + `(("guile" ,guile-3.0))) + (home-page "https://github.com/lloda/guile-raw-strings") + (synopsis "Guile reader extension for `raw strings'") + (description "This package provides A Guile reader extension for `raw +strings', it lets you write verbatim strings without having to escape double +quotes. ") + (license license:public-domain)))) + (define-public guile-reader (package (name "guile-reader") base-commit: e5adaf6c2de917f33f90e24b551a8991e55b3eb6 -- 2.31.1