Subject: [bug#57654] [PATCH 14/16] gnu: Add cl-class-options.

From: jgart <[email-masked]>
Date: Wed, 7 Sep 2022 19:49:02 -0500

* gnu/packages/lisp-xyz.scm (cl-class-options, ecl-class-options,
sbcl-class-options): New variables.
---
 gnu/packages/lisp-xyz.scm | 30 ++++++++++++++++++++++++++++++
 1 file changed, 30 insertions(+)

diff --git a/gnu/packages/lisp-xyz.scm b/gnu/packages/lisp-xyz.scm
index 66c76ae832..42302383aa 100644
--- a/gnu/packages/lisp-xyz.scm
+++ b/gnu/packages/lisp-xyz.scm
@@ -23693,6 +23693,36 @@ (define-public cl-compatible-metaclasses
 (define-public ecl-compatible-metaclasses
   (sbcl-package->ecl-package sbcl-compatible-metaclasses))
 
+(define-public sbcl-class-options
+  (package
+      (name "sbcl-class-options")
+      (version "1.0.1")
+      (source
+        (origin
+          (method git-fetch)
+          (uri (git-reference
+                (url "https://github.com/Hexstream/class-options")
+                (commit (string-append "v" version))))
+          (file-name (git-file-name name version))
+          (sha256
+           (base32 "1dkgr1vbrsra44jznzz2bvdf8nlpdrrkjcqrfs8aa7axksda3bqk"))))
+      (build-system asdf-build-system/sbcl)
+      (native-inputs (list sbcl-parachute sbcl-enhanced-boolean))
+      (inputs
+        (list sbcl-enhanced-find-class sbcl-closer-mop))
+      (home-page "https://www.hexstreamsoft.com/libraries/class-options/")
+      (synopsis "Easy access to the defining class and its options during modification")
+      (description
+"Provides easy access to the defining class and its options during
+initialization or reinitialization of its subcomponents.")
+      (license license:unlicense)))
+
+(define-public cl-class-options
+  (sbcl-package->cl-source-package sbcl-class-options))
+
+(define-public ecl-class-options
+  (sbcl-package->ecl-package sbcl-class-options))
+
 (define-public sbcl-smug
   (let ((commit "647a2428df297e1dd183ba7c19574bdb1320ae79")
         (revision "0"))
-- 
2.37.2