summary refs log tree commit diff
path: root/gnu/packages/lisp-xyz.scm
diff options
context:
space:
mode:
authorjgart via Guix-patches via <guix-patches@gnu.org>2022-11-29 15:19:30 -0600
committerGuillaume Le Vaillant <glv@posteo.net>2022-11-30 13:28:42 +0100
commitac7e2f21b08f65522a83f2821d1250145247c626 (patch)
treef6a37cc10a34c6f63497f22714fde9031a8afc0d /gnu/packages/lisp-xyz.scm
parent5a6d0b5193d4ff7a3392ff287c149aa3e8beeb10 (diff)
downloadguix-ac7e2f21b08f65522a83f2821d1250145247c626.tar.gz
gnu: Add cl-clavier.
* gnu/packages/lisp-xyz.scm (cl-clavier, ecl-clavier, sbcl-clavier):
  New variables.

Signed-off-by: Guillaume Le Vaillant <glv@posteo.net>
Diffstat (limited to 'gnu/packages/lisp-xyz.scm')
-rw-r--r--gnu/packages/lisp-xyz.scm35
1 files changed, 35 insertions, 0 deletions
diff --git a/gnu/packages/lisp-xyz.scm b/gnu/packages/lisp-xyz.scm
index e3ddc26eac..841aa48bb9 100644
--- a/gnu/packages/lisp-xyz.scm
+++ b/gnu/packages/lisp-xyz.scm
@@ -454,6 +454,41 @@ It's intended as a simpler alternative to parser generators.")
 (define-public ecl-meta
   (sbcl-package->ecl-package sbcl-meta))
 
+(define-public sbcl-clavier
+  (let ((commit "048bea40cac0a89480f8c41ae542be45945f3268")
+        (revision "0"))
+    (package
+      (name "sbcl-clavier")
+      (version (git-version "0.0.0" revision commit))
+      (source
+       (origin
+         (method git-fetch)
+         (uri (git-reference
+               (url "https://github.com/mmontone/clavier")
+               (commit commit)))
+         (file-name (git-file-name "cl-clavier" version))
+         (sha256
+          (base32 "0734xia2hf7lqkm59gjhyvpsp0vl50djyhy4llwwbzbwwdkdihw4"))))
+      (build-system asdf-build-system/sbcl)
+      (native-inputs (list sbcl-stefil))
+      (inputs
+       (list sbcl-alexandria
+             sbcl-chronicity
+             sbcl-cl-fad
+             sbcl-cl-ppcre
+             sbcl-closer-mop))
+      (home-page "https://github.com/mmontone/clavier/")
+      (synopsis "General purpose validation library")
+      (description "Clavier is a general purpose validation library for
+Common Lisp.")
+      (license license:expat))))
+
+(define-public cl-clavier
+  (sbcl-package->cl-source-package sbcl-clavier))
+
+(define-public ecl-clavier
+  (sbcl-package->ecl-package sbcl-clavier))
+
 (define-public sbcl-cl-inotify
   (let ((commit "66f29e01ec28355ebba8292411b4de90eebd76a3")
         (revision "0"))