diff options
author | jgart <jgart@dismail.de> | 2022-09-07 19:48:51 -0500 |
---|---|---|
committer | Guillaume Le Vaillant <glv@posteo.net> | 2022-09-09 11:40:10 +0200 |
commit | 18fcaee2b9656f4be7328dd1adc69e093d4f8079 (patch) | |
tree | c20d666b07122bd23f8f3d9e1128ba37ebc736bd /gnu/packages | |
parent | 3b5c5cbb6d35b68f51d70dbf2be514acb19f7b22 (diff) | |
download | guix-18fcaee2b9656f4be7328dd1adc69e093d4f8079.tar.gz guix-18fcaee2b9656f4be7328dd1adc69e093d4f8079.zip |
gnu: Add cl-enhanced-defclass.
* gnu/packages/lisp-xyz.scm (cl-enhanced-defclass, ecl-enhanced-defclass,
sbcl-enhanced-defclass): New variables.
Signed-off-by: Guillaume Le Vaillant <glv@posteo.net>
Diffstat (limited to 'gnu/packages')
-rw-r--r-- | gnu/packages/lisp-xyz.scm | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/gnu/packages/lisp-xyz.scm b/gnu/packages/lisp-xyz.scm index abc971ad7f..98ce8ed49f 100644 --- a/gnu/packages/lisp-xyz.scm +++ b/gnu/packages/lisp-xyz.scm @@ -23310,6 +23310,44 @@ in which case it returns the appropriate closure.") (define-public ecl-enhanced-typep (sbcl-package->ecl-package sbcl-enhanced-typep)) +(define-public sbcl-enhanced-defclass + (package + (name "sbcl-enhanced-defclass") + (version "2.1") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/Hexstream/enhanced-defclass") + (commit (string-append "v" version)))) + (file-name (git-file-name "cl-enhanced-defclass" version)) + (sha256 + (base32 "142s5c3pl3x7xdawzsj8pdxiqp4wh6fcajf4la5msvnxgf66d8wg")))) + (build-system asdf-build-system/sbcl) + (native-inputs + (list sbcl-parachute)) + (inputs + (list sbcl-cesdi + sbcl-closer-mop + sbcl-compatible-metaclasses + sbcl-enhanced-eval-when + sbcl-object-class + sbcl-shared-preferences + sbcl-simple-guess)) + (home-page "https://www.hexstreamsoft.com/libraries/enhanced-defclass/") + (synopsis "Extensible implementation of defclass") + (description + "This package provides an extensible implementation of defclass that can +accurately control the expansion according to the metaclass and automatically +detect the suitable metaclass by analyzing the @code{defclass} form.") + (license license:unlicense))) + +(define-public cl-enhanced-defclass + (sbcl-package->cl-source-package sbcl-enhanced-defclass)) + +(define-public ecl-enhanced-defclass + (sbcl-package->ecl-package sbcl-enhanced-defclass)) + (define-public sbcl-smug (let ((commit "647a2428df297e1dd183ba7c19574bdb1320ae79") (revision "0")) |