mirror of
https://git.savannah.gnu.org/git/guix.git
synced 2025-01-23 18:56:43 +01:00
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>
This commit is contained in:
parent
e2e17903fb
commit
70387700b2
1 changed files with 36 additions and 0 deletions
|
@ -18166,3 +18166,39 @@ (define-public sbcl-rss
|
|||
|
||||
(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))
|
||||
|
|
Loading…
Reference in a new issue