From: Xinglu Chen <public@yoctocell.xyz>
To: 48287@debbugs.gnu.org
Subject: [bug#48287] [PATCH v2] gnu: Add guile-raw-strings.
Date: Sun, 09 May 2021 10:18:12 +0200 [thread overview]
Message-ID: <cc745e1e813d31ed96639c90c86eb45fb1032b1e.1620548230.git.public@yoctocell.xyz> (raw)
In-Reply-To: <97bc884cb5366248ad26aaac6a4c573a4a159a7d.1620482502.git.public@yoctocell.xyz>
* gnu/packages/guile-xyz.scm (guile-raw-strings): New variable.
---
Changes since v1:
- Respect the ‘--without-tests’ package tranformation.
gnu/packages/guile-xyz.scm | 32 ++++++++++++++++++++++++++++++++
1 file changed, 32 insertions(+)
diff --git a/gnu/packages/guile-xyz.scm b/gnu/packages/guile-xyz.scm
index f908fb8a3b..35e580a804 100644
--- a/gnu/packages/guile-xyz.scm
+++ b/gnu/packages/guile-xyz.scm
@@ -2106,6 +2106,38 @@ 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* (#:key tests? #:allow-other-keys)
+ (when tests?
+ (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
next prev parent reply other threads:[~2021-05-09 8:19 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-05-08 14:01 [bug#48287] [PATCH] gnu: Add guile-raw-strings Xinglu Chen
2021-05-08 21:18 ` Maxime Devos
2021-05-09 8:12 ` Xinglu Chen
2021-05-09 8:18 ` Xinglu Chen [this message]
2021-05-14 10:14 ` bug#48287: " Ludovic Courtès
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=cc745e1e813d31ed96639c90c86eb45fb1032b1e.1620548230.git.public@yoctocell.xyz \
--to=public@yoctocell.xyz \
--cc=48287@debbugs.gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.