Subject: [PATCH 05/16] gnu: Add cl-shared-preferences.

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

* gnu/packages/lisp-xyz.scm (cl-shared-preferences,
ecl-shared-preferences, sbcl-shared-preferences): 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 4aee6a1f1f..68e8729029 100644
--- a/gnu/packages/lisp-xyz.scm
+++ b/gnu/packages/lisp-xyz.scm
@@ -23413,6 +23413,36 @@ (define-public cl-object-class
 (define-public ecl-object-class
   (sbcl-package->ecl-package sbcl-object-class))
 
+(define-public sbcl-shared-preferences
+  (package
+      (name "sbcl-shared-preferences")
+      (version "1.1.1")
+      (source
+        (origin
+          (method git-fetch)
+          (uri (git-reference
+                (url "https://github.com/Hexstream/shared-preferences")
+                (commit (string-append "v" version))))
+          (file-name (git-file-name name version))
+          (sha256
+           (base32 "12m4kaba2lxndkjw30a6y2rq16fflh5016lp74l7pf3v0y3j1ydf"))))
+      (build-system asdf-build-system/sbcl)
+      (native-inputs (list sbcl-parachute))
+      (inputs
+        (list sbcl-trivial-garbage
+              sbcl-inheriting-readers))
+      (home-page "https://www.hexstreamsoft.com/libraries/shared-preferences/")
+      (synopsis "Flexible specification of package-local preferences")
+      (description
+"Notably allows flexible specification of package-local preferences.")
+      (license license:unlicense)))
+
+(define-public cl-shared-preferences
+  (sbcl-package->cl-source-package sbcl-shared-preferences))
+
+(define-public ecl-shared-preferences
+  (sbcl-package->ecl-package sbcl-shared-preferences))
+
 (define-public sbcl-smug
   (let ((commit "647a2428df297e1dd183ba7c19574bdb1320ae79")
         (revision "0"))
-- 
2.37.2