summary refs log tree commit diff
diff options
context:
space:
mode:
authorPierre Neidhardt <mail@ambrevar.xyz>2023-04-12 11:35:44 +0200
committerPierre Neidhardt <mail@ambrevar.xyz>2023-04-12 12:23:52 +0200
commitabb28fa6876952bcef232707ec95e5598c0b3a7e (patch)
tree9b3d4fc41f466f97a0b31b495106205779b14a66
parent0c4a064662a0ca63619529c31999b91eab30334b (diff)
downloadguix-abb28fa6876952bcef232707ec95e5598c0b3a7e.tar.gz
gnu: Add data-format-validation.
* gnu/packages/lisp-xyz.scm (cl-data-format-validation,
ecl-data-format-validation, sbcl-data-format-validation): New variables.
-rw-r--r--gnu/packages/lisp-xyz.scm36
1 files changed, 36 insertions, 0 deletions
diff --git a/gnu/packages/lisp-xyz.scm b/gnu/packages/lisp-xyz.scm
index d80c115a5a..7a3c3f93f7 100644
--- a/gnu/packages/lisp-xyz.scm
+++ b/gnu/packages/lisp-xyz.scm
@@ -10091,6 +10091,42 @@ results.")
 (define-public ecl-trivial-indent
   (sbcl-package->ecl-package sbcl-trivial-indent))
 
+(define-public sbcl-data-format-validation
+  (let ((commit "95d44766e829582598f9dcdc5c23719c462d5bfb")
+        (revision "1"))
+    (package
+      (name "sbcl-data-format-validation")
+      (version (git-version "0.2.0" revision commit))
+      (source
+       (origin
+         (method git-fetch)
+         (uri
+          (git-reference
+           (url "https://github.com/willijar/cl-data-format-validation/")
+           (commit commit)))
+         (file-name (git-file-name "data-format-validation" version))
+         (sha256
+          (base32
+           "0zmk47xmicyqvp1impn8kgh5373ysmx3gfpqcvbi9r31qsir2nqa"))))
+      (build-system asdf-build-system/sbcl)
+      (inputs
+       (list sbcl-cl-ppcre))
+      (synopsis "Validation and conversion between user and internal data")
+      (description
+       "@code{data-format-validation} is a library for Common Lisp providing a
+consistent regular interface for converting (and validating) external data (in
+the form of strings usually) into internal data types and for formatting
+internal data back into external presentable strings, all according to a
+conversion or type specification.")
+      (home-page "http://www.jarw.org.uk/lisp/cl-data-format-validation.html")
+      (license license:gpl3))))
+
+(define-public cl-data-format-validation
+  (sbcl-package->cl-source-package sbcl-data-format-validation))
+
+(define-public ecl-data-format-validation
+  (sbcl-package->ecl-package sbcl-data-format-validation))
+
 (define-public sbcl-documentation-utils
   (let ((commit "98630dd5f7e36ae057fa09da3523f42ccb5d1f55")
         (revision "0"))