diff options
author | Pierre Neidhardt <mail@ambrevar.xyz> | 2021-01-23 15:53:25 +0100 |
---|---|---|
committer | Pierre Neidhardt <mail@ambrevar.xyz> | 2021-01-24 11:39:15 +0100 |
commit | 99e6365c223c73ebe4afaa1c1bca94f8edcd6f0c (patch) | |
tree | 231854db17f99f5c1ae172dc6eca3c361b1b2d83 /gnu/packages | |
parent | d94f7530434fe3efd61b7d3301eff7501ae044f6 (diff) | |
download | guix-patches-99e6365c223c73ebe4afaa1c1bca94f8edcd6f0c.tar guix-patches-99e6365c223c73ebe4afaa1c1bca94f8edcd6f0c.tar.gz |
gnu: Add trivial-escapes.
* gnu/packages/lisp-xyz.scm (cl-trivial-escapes, ecl-trivial-escapes,
sbcl-trivial-escapes): New variables.
Diffstat (limited to 'gnu/packages')
-rw-r--r-- | gnu/packages/lisp-xyz.scm | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/gnu/packages/lisp-xyz.scm b/gnu/packages/lisp-xyz.scm index 88e946efae..6939f7483d 100644 --- a/gnu/packages/lisp-xyz.scm +++ b/gnu/packages/lisp-xyz.scm @@ -13285,3 +13285,37 @@ corresponding OS system functions are called.") (define-public cl-ppath (sbcl-package->cl-source-package sbcl-ppath)) + +(define-public sbcl-trivial-escapes + (let ((commit "1eca78da2078495d09893be58c28b3aa7b8cc4d1")) + (package + (name "sbcl-trivial-escapes") + (version (git-version "1.2.0" "1" commit)) + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/williamyaoh/trivial-escapes") + (commit commit))) + (file-name (git-file-name name commit)) + (sha256 + (base32 "0v6h8lk17iqv1qkxgqjyzn8gi6v0hvq2vmfbb01md3zjvjqxn6lr")))) + (build-system asdf-build-system/sbcl) + (inputs + `(("named-readtables" ,sbcl-named-readtables))) + (native-inputs + `(("fiveam" ,sbcl-fiveam))) + (home-page "https://github.com/williamyaoh/trivial-escapes") + (synopsis "C-style escape directives for Common Lisp") + (description + "This Common Lisp library interprets escape characters the same way that +most other programming language do. +It provides four readtables. The default one lets you write strings like this: +@code{#\"This string has\na newline in it!\"}.") + (license license:public-domain)))) + +(define-public ecl-trivial-escapes + (sbcl-package->ecl-package sbcl-trivial-escapes)) + +(define-public cl-trivial-escapes + (sbcl-package->cl-source-package sbcl-trivial-escapes)) |