gnu: Add trivial-garbage.
* gnu/packages/lisp.scm (cl-trivial-garbage, ecl-trivial-garbage, sbcl-trivial-garbage): New variables.
This commit is contained in:
parent
2cc931db44
commit
4aa2342008
|
@ -3195,3 +3195,32 @@ (define-public cl-unix-opts
|
|||
|
||||
(define-public ecl-unix-opts
|
||||
(sbcl-package->ecl-package sbcl-unix-opts))
|
||||
|
||||
(define-public sbcl-trivial-garbage
|
||||
(package
|
||||
(name "sbcl-trivial-garbage")
|
||||
(version "0.21")
|
||||
(source
|
||||
(origin
|
||||
(method url-fetch)
|
||||
(uri (string-append
|
||||
"https://github.com/trivial-garbage/trivial-garbage/archive/v"
|
||||
version ".tar.gz"))
|
||||
(sha256
|
||||
(base32 "0b244nlszkrqawsnp568clnx32xmvjmbbagbz7625w9n0yq7396y"))
|
||||
(file-name (string-append "trivial-garbage-" version ".tar.gz"))))
|
||||
(build-system asdf-build-system/sbcl)
|
||||
(native-inputs
|
||||
`(("rt" ,sbcl-rt)))
|
||||
(home-page "https://common-lisp.net/project/trivial-garbage/")
|
||||
(synopsis "Portable GC-related APIs for Common Lisp")
|
||||
(description "@command{trivial-garbage} provides a portable API to
|
||||
finalizers, weak hash-tables and weak pointers on all major implementations of
|
||||
the Common Lisp programming language.")
|
||||
(license license:public-domain)))
|
||||
|
||||
(define-public cl-trivial-garbage
|
||||
(sbcl-package->cl-source-package sbcl-trivial-garbage))
|
||||
|
||||
(define-public ecl-trivial-garbage
|
||||
(sbcl-package->ecl-package sbcl-trivial-garbage))
|
||||
|
|
Loading…
Reference in a new issue