Subject: [PATCH 01/16] gnu: Add cl-canonicalized-initargs.

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

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

diff --git a/gnu/packages/lisp-xyz.scm b/gnu/packages/lisp-xyz.scm
index b14cfb70a3..e9a4c8f2b5 100644
--- a/gnu/packages/lisp-xyz.scm
+++ b/gnu/packages/lisp-xyz.scm
@@ -23281,6 +23281,39 @@ (define-public cl-ndebug
 (define-public ecl-ndebug
   (sbcl-package->ecl-package sbcl-ndebug))
 
+(define-public sbcl-canonicalized-initargs
+  (package
+      (name "sbcl-canonicalized-initargs")
+      (version "2.0")
+      (source
+        (origin
+          (method git-fetch)
+          (uri (git-reference
+                (url "https://github.com/Hexstream/canonicalized-initargs")
+                (commit (string-append "v" version))))
+          (file-name (git-file-name name version))
+          (sha256
+           (base32 "0jmmjw86x9mmlfla4kdmdqf1fjrj0p2fmv1lc4k555mcf67mj2fq"))))
+      (build-system asdf-build-system/sbcl)
+      (native-inputs (list sbcl-parachute))
+      (inputs
+        (list sbcl-closer-mop
+              sbcl-cesdi
+              sbcl-enhanced-typep
+              sbcl-compatible-metaclasses
+              sbcl-enhanced-defclass))
+      (home-page
+        "https://www.hexstreamsoft.com/libraries/canonicalized-initargs/")
+      (synopsis "Standard way to canonicalize slot values")
+      (description "Provides a standard way to canonicalize slot values.")
+      (license license:unlicense)))
+
+(define-public cl-canonicalized-initargs
+  (sbcl-package->cl-source-package sbcl-canonicalized-initargs))
+
+(define-public ecl-canonicalized-initargs
+  (sbcl-package->ecl-package sbcl-canonicalized-initargs))
+
 (define-public sbcl-smug
   (let ((commit "647a2428df297e1dd183ba7c19574bdb1320ae79")
         (revision "0"))
-- 
2.37.2