diff options
author | Charles <charles.b.jackson@protonmail.com> | 2021-07-03 14:03:36 +0200 |
---|---|---|
committer | Guillaume Le Vaillant <glv@posteo.net> | 2021-07-03 14:27:37 +0200 |
commit | 70387700b284a73ed4757d7b0ddfe8eb09cb7a84 (patch) | |
tree | aa426810d19f65be5e971774b5fce673d7d158c0 /gnu/packages | |
parent | e2e17903fbb726467d74d8da367f51fa0206a12b (diff) |
gnu: Add cl-trivial-with-current-source-form.
* gnu/packages/lisp-xyz.scm (cl-trivial-with-current-source-form,
ecl-trivial-with-current-source-form,
sbcl-trivial-with-current-source-form): New variables.
Signed-off-by: Guillaume Le Vaillant <glv@posteo.net>
Diffstat (limited to 'gnu/packages')
-rw-r--r-- | gnu/packages/lisp-xyz.scm | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/gnu/packages/lisp-xyz.scm b/gnu/packages/lisp-xyz.scm index 1f26b946cd..3dc276d057 100644 --- a/gnu/packages/lisp-xyz.scm +++ b/gnu/packages/lisp-xyz.scm @@ -18166,3 +18166,39 @@ RSS feeds data via HTTP. Currently, it supports RSS versions 0.90, (define-public cl-rss (sbcl-package->cl-source-package sbcl-rss)) + +(define-public sbcl-trivial-with-current-source-form + (let ((commit "9e343e043a77a5478c1f77bb626db22335fbbfb8") + (revision "1")) + (package + (name "sbcl-trivial-with-current-source-form") + (version (git-version "0.1.0" revision commit)) + (source + (origin + (method git-fetch) + (uri (git-reference + (url + "https://github.com/scymtym/trivial-with-current-source-form") + (commit commit))) + (file-name (git-file-name "trivial-with-current-source-form" version)) + (sha256 + (base32 "15zs7mc422ycp1cvcxmirif1dq15mlmv8vzd6l6nzn4qgmph9wz0")))) + (build-system asdf-build-system/sbcl) + (inputs + `(("alexandria" ,sbcl-alexandria))) + (home-page "https://github.com/scymtym/trivial-with-current-source-form") + (synopsis "Help producing better errors for macro users") + (description + "This library allows macro writers to provide better feedback to macro +users when errors are signaled during macroexpansion. It uses the compiler's +concept of a source-form to report where the error or warning is located.") + (license license:lgpl3)))) + +(define-public ecl-trivial-with-current-source-form + ;; Trivial-with-current-source-form does not give any benefits on ECL. + ;; This package is so packages dependent on trivial-with-current-source-form + ;; can be loaded on ECL. + (sbcl-package->ecl-package sbcl-trivial-with-current-source-form)) + +(define-public cl-trivial-with-current-source-form + (sbcl-package->cl-source-package sbcl-trivial-with-current-source-form)) |