Subject: [PATCH v2 5/8] gnu: Add cl-data-frame.

From: jgart <[email-masked]>
Date: Sun, 15 Jan 2023 15:55:49 -0600

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

diff --git a/gnu/packages/lisp-xyz.scm b/gnu/packages/lisp-xyz.scm
index 77b885adc1..012ec02030 100644
--- a/gnu/packages/lisp-xyz.scm
+++ b/gnu/packages/lisp-xyz.scm
@@ -26829,6 +26829,47 @@ (define-public cl-distributions
 #;(define-public ecl-distributions
   (sbcl-package->ecl-package sbcl-distributions))
 
+(define-public sbcl-data-frame
+  (let ((commit "6f02e58312654ddf19d686f234dcf699fc4cd0f5")
+        (revision "0"))
+    (package
+      (name "sbcl-data-frame")
+      (version (git-version "1.1.1" revision commit))
+      (source
+       (origin
+         (method git-fetch)
+         (uri (git-reference
+               (url "https://github.com/Lisp-Stat/data-frame")
+               (commit commit)))
+         (file-name (git-file-name name version))
+         (sha256
+          (base32 "0bs1jh66bml25bj1lxdzz8cjhj3g060yyd5ggqsnsr4l2j0zyszv"))))
+      (build-system asdf-build-system/sbcl)
+      (native-inputs (list sbcl-clunit2))
+      (inputs
+        (list sbcl-alexandria
+              sbcl-serapeum
+              sbcl-anaphora
+              sbcl-duologue
+              sbcl-statistics
+              sbcl-let-plus
+              sbcl-alexandria-plus
+              sbcl-array-operations
+              sbcl-numerical-utilities
+              sbcl-select))
+      (home-page "https://lisp-stat.dev/docs/manuals/data-frame/")
+      (synopsis "Data frames for Common Lisp")
+      (description "This package provides Data frames for Common Lisp, a
+two-dimensional array-like structure in which each column contains values
+of one variable and each row contains one set of values from each column.")
+      (license license:ms-pl))))
+
+(define-public cl-data-frame
+  (sbcl-package->cl-source-package sbcl-data-frame))
+
+(define-public ecl-data-frame
+  (sbcl-package->ecl-package sbcl-data-frame))
+
 (define-public sbcl-seria
   (let ((commit "2bba04dc6abdc0b85a511cae9c460942e2ad305a")
         (revision "0"))
-- 
2.38.1