[PATCH 0/5] Lisp-Stat

  • Done
  • quality assurance status badge
Details
2 participants
  • Guillaume Le Vaillant
  • jgart
Owner
unassigned
Submitted by
jgart
Severity
normal
J
(name . Guix Patches)(address . guix-patches@gnu.org)(name . Guillaume Le Vaillant)(address . glv@posteo.net)
20230115131057.GB12647@dismail.de
Hi,

This patch series packages Lisp-Stat, a statistical computing environment written in Common Lisp.

J
[PATCH 1/8] gnu: Add cl-variates.
(address . 60835@debbugs.gnu.org)
20230115212520.32718-1-jgart@dismail.de
* gnu/packages/lisp-xyz.scm (cl-variates, ecl-cl-variates,
sbcl-cl-variates): New variables.

Hi,

Here is the patch set.

cephes fails on ecl.

See this issue that I opened:


all best,

jgart
---
gnu/packages/lisp-xyz.scm | 35 ++++++++++++++++++++++++++++++++++-
1 file changed, 34 insertions(+), 1 deletion(-)

Toggle diff (55 lines)
diff --git a/gnu/packages/lisp-xyz.scm b/gnu/packages/lisp-xyz.scm
index 943d295c5d..35e10b3301 100644
--- a/gnu/packages/lisp-xyz.scm
+++ b/gnu/packages/lisp-xyz.scm
@@ -28,7 +28,7 @@
;;; Copyright © 2021 Cameron Chaparro <cameron@cameronchaparro.com>
;;; Copyright © 2021 Charles Jackson <charles.b.jackson@protonmail.com>
;;; Copyright © 2021, 2022 Foo Chuan Wei <chuanwei.foo@hotmail.com>
-;;; Copyright © 2021, 2022 jgart <jgart@dismail.de>
+;;; Copyright © 2021, 2022, 2023 jgart <jgart@dismail.de>
;;; Copyright © 2021 Aleksandr Vityazev <avityazev@posteo.org>
;;; Copyright © 2021 Jacob MacDonald <jaccarmac@gmail.com>
;;; Copyright © 2022 Jai Vetrivelan <jaivetrivelan@gmail.com>
@@ -26644,6 +26644,39 @@ (define-public cl-smug
(define-public ecl-smug
(sbcl-package->ecl-package sbcl-smug))
+(define-public sbcl-cl-variates
+ (let ((commit "4e7548754d8a8731a42487fae31174db4bf36d47")
+ (revision "0"))
+ (package
+ (name "sbcl-cl-variates")
+ (version "0.9.0")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://gitlab.common-lisp.net/cl-variates/cl-variates")
+ (commit commit)))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "03wnvfi3yfflpvi0mr732r834msij4vrwdbgf6csh0b8kqxl47zn"))))
+ (build-system asdf-build-system/sbcl)
+ ;; USE-PACKAGE #<PACKAGE "CL-VARIATES"> causes name-conflicts in
+ ;; #<PACKAGE "CL-VARIATES-TEST"> between the following symbols:
+ ;; CL-VARIATES:RANDOM-ELEMENT, LIFT:RANDOM-ELEMENT
+ (arguments (list #:tests? #f))
+ (native-inputs (list sbcl-lift))
+ (home-page "https://gitlab.common-lisp.net/cl-variates/cl-variates")
+ (synopsis "Portable Common Lisp Random Number Generation")
+ (description "The variates package provides portable random number
+ generation as well as numerous distributions.")
+ (license license:expat))))
+
+(define-public cl-variates
+ (sbcl-package->cl-source-package sbcl-cl-variates))
+
+(define-public ecl-cl-variates
+ (sbcl-package->ecl-package sbcl-cl-variates))
+
(define-public sbcl-seria
(let ((commit "2bba04dc6abdc0b85a511cae9c460942e2ad305a")
(revision "0"))
--
2.38.1
J
[PATCH 2/8] gnu: Add cl-cephes.
(address . 60835@debbugs.gnu.org)(name . jgart)(address . jgart@dismail.de)
20230115212520.32718-2-jgart@dismail.de
* gnu/packages/lisp-xyz.scm (cl-cephes, sbcl-cephes): New variables.
---
gnu/packages/lisp-xyz.scm | 32 ++++++++++++++++++++++++++++++++
1 file changed, 32 insertions(+)

Toggle diff (45 lines)
diff --git a/gnu/packages/lisp-xyz.scm b/gnu/packages/lisp-xyz.scm
index 35e10b3301..2da5f7858a 100644
--- a/gnu/packages/lisp-xyz.scm
+++ b/gnu/packages/lisp-xyz.scm
@@ -26677,6 +26677,38 @@ (define-public cl-variates
(define-public ecl-cl-variates
(sbcl-package->ecl-package sbcl-cl-variates))
+(define-public sbcl-cephes
+ (let ((commit "d87146fa38c8425ffb5fe425eee5eb3e818bacd4")
+ (revision "0"))
+ (package
+ (name "sbcl-cephes")
+ (version (git-version "1.2" revision commit))
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/Lisp-Stat/cephes.cl")
+ (commit commit)))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "09adls1lwwzwm1jmvhf11arwlsy5w0bi2rmniahas824mysv77lr"))))
+ (build-system asdf-build-system/sbcl)
+ (inputs
+ (list sbcl-cffi))
+ (home-page "https://lisp-stat.github.io/cephes.cl/")
+ (synopsis "Common Lisp wrapper for the Cephes Mathematical Library")
+ (description
+"This package provides a common lisp CFFI wrapper for the SciPy version
+of Cephes special functions.")
+ (license license:ms-pl))))
+
+(define-public cl-cephes
+ (sbcl-package->cl-source-package sbcl-cephes))
+
+;; https://github.com/Lisp-Stat/cephes.cl/issues/2
+#;(define-public ecl-cephes
+ (sbcl-package->ecl-package sbcl-cephes))
+
(define-public sbcl-seria
(let ((commit "2bba04dc6abdc0b85a511cae9c460942e2ad305a")
(revision "0"))
--
2.38.1
J
[PATCH 3/8] gnu: Add cl-statistics.
(address . 60835@debbugs.gnu.org)(name . jgart)(address . jgart@dismail.de)
20230115212520.32718-3-jgart@dismail.de
* gnu/packages/lisp-xyz.scm (cl-statistics, sbcl-statistics): New
variables.
---
gnu/packages/lisp-xyz.scm | 39 +++++++++++++++++++++++++++++++++++++++
1 file changed, 39 insertions(+)

Toggle diff (52 lines)
diff --git a/gnu/packages/lisp-xyz.scm b/gnu/packages/lisp-xyz.scm
index 2da5f7858a..b0fa3244d5 100644
--- a/gnu/packages/lisp-xyz.scm
+++ b/gnu/packages/lisp-xyz.scm
@@ -26709,6 +26709,45 @@ (define-public cl-cephes
#;(define-public ecl-cephes
(sbcl-package->ecl-package sbcl-cephes))
+(define-public sbcl-statistics
+ (let ((commit "94fc87a2bf81355a40ce3730b4ed77710ecfabaf")
+ (revision "0"))
+ (package
+ (name "sbcl-statistics")
+ (version (git-version "1.1.1" revision commit))
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/Lisp-Stat/statistics")
+ (commit commit)))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "0is69w6iwh4hyzc5ndgb3i2331f677sa7kw5wy8pmx6hawbkgyir"))))
+ (build-system asdf-build-system/sbcl)
+ (native-inputs (list sbcl-clunit2))
+ (inputs
+ (list sbcl-alexandria
+ sbcl-anaphora
+ sbcl-distributions
+ sbcl-let-plus
+ sbcl-numerical-utilities
+ sbcl-conduit-packages))
+ ;; https://github.com/Lisp-Stat/statistics/issues/2
+ (home-page "https://lisp-stat.dev/docs/")
+ (synopsis "Statistical functions in Common Lisp")
+ (description "This package provides a consolidation of Common
+ Lisp statistics
+libraries.")
+ (license (list license:ms-pl license:expat)))))
+
+(define-public cl-statistics
+ (sbcl-package->cl-source-package sbcl-statistics))
+
+;; https://github.com/Lisp-Stat/cephes.cl/issues/2
+#;(define-public ecl-statistics
+ (sbcl-package->ecl-package sbcl-statistics))
+
(define-public sbcl-seria
(let ((commit "2bba04dc6abdc0b85a511cae9c460942e2ad305a")
(revision "0"))
--
2.38.1
J
[PATCH 4/8] gnu: Add cl-special-functions.
(address . 60835@debbugs.gnu.org)(name . jgart)(address . jgart@dismail.de)
20230115212520.32718-4-jgart@dismail.de
* gnu/packages/lisp-xyz.scm (cl-special-functions, ecl-special-functions,
sbcl-special-functions): New variables.
---
gnu/packages/lisp-xyz.scm | 37 +++++++++++++++++++++++++++++++++++++
1 file changed, 37 insertions(+)

Toggle diff (50 lines)
diff --git a/gnu/packages/lisp-xyz.scm b/gnu/packages/lisp-xyz.scm
index b0fa3244d5..cbc46d6810 100644
--- a/gnu/packages/lisp-xyz.scm
+++ b/gnu/packages/lisp-xyz.scm
@@ -26748,6 +26748,43 @@ (define-public cl-statistics
#;(define-public ecl-statistics
(sbcl-package->ecl-package sbcl-statistics))
+(define-public sbcl-special-functions
+ (let ((commit "f3ca2792ff3f8351839c366413da6b1bb2965a58")
+ (revision "0"))
+ (package
+ (name "sbcl-special-functions")
+ (version (git-version "1.2.0" revision commit))
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/Lisp-Stat/special-functions")
+ (commit commit)))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "092szffy7zfxgrvfck11wnj8l0mgcym13yiafj01ad02lbj1fnnv"))))
+ (build-system asdf-build-system/sbcl)
+ (native-inputs (list sbcl-cl-variates sbcl-fiveam sbcl-select))
+ (inputs
+ (list sbcl-alexandria-plus
+ sbcl-numerical-utilities
+ sbcl-let-plus
+ sbcl-float-features
+ sbcl-conduit-packages))
+ (home-page "https://lisp-stat.dev/docs/resources/special-functions/")
+ (synopsis "Random variates for Common Lisp")
+ (description "This library implements
+@url{http://specialfunctionswiki.org/index.php/Main_Page, special
+functions} and has a focus on high accuracy double-float calculations
+using the latest algorithms.")
+ (license license:ms-pl))))
+
+(define-public cl-special-functions
+ (sbcl-package->cl-source-package sbcl-special-functions))
+
+(define-public ecl-special-functions
+ (sbcl-package->ecl-package sbcl-special-functions))
+
(define-public sbcl-seria
(let ((commit "2bba04dc6abdc0b85a511cae9c460942e2ad305a")
(revision "0"))
--
2.38.1
J
[PATCH 5/8] gnu: Add cl-distributions.
(address . 60835@debbugs.gnu.org)(name . jgart)(address . jgart@dismail.de)
20230115212520.32718-5-jgart@dismail.de
* gnu/packages/lisp-xyz.scm (cl-distributions, sbcl-distributions):
New variables.
---
gnu/packages/lisp-xyz.scm | 41 +++++++++++++++++++++++++++++++++++++++
1 file changed, 41 insertions(+)

Toggle diff (54 lines)
diff --git a/gnu/packages/lisp-xyz.scm b/gnu/packages/lisp-xyz.scm
index cbc46d6810..91863f09c9 100644
--- a/gnu/packages/lisp-xyz.scm
+++ b/gnu/packages/lisp-xyz.scm
@@ -26785,6 +26785,47 @@ (define-public cl-special-functions
(define-public ecl-special-functions
(sbcl-package->ecl-package sbcl-special-functions))
+(define-public sbcl-distributions
+ (let ((commit "ea72622073ee7e005dfdc621ce1e5a83b22bb39e")
+ (revision "0"))
+ (package
+ (name "sbcl-distributions")
+ (version (git-version "1.0.0" revision commit))
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/Lisp-Stat/distributions")
+ (commit commit)))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "1fkzigd0s0s0mvszgmv04yc8jp9gm4812445hfh6kpz6cjy5zpsk"))))
+ (build-system asdf-build-system/sbcl)
+ ;; https://github.com/Lisp-Stat/distributions/issues/1
+ (arguments (list #:tests? #f))
+ (native-inputs (list sbcl-fiveam))
+ (inputs
+ (list sbcl-alexandria
+ sbcl-anaphora
+ sbcl-array-operations
+ sbcl-cephes
+ sbcl-numerical-utilities
+ sbcl-special-functions
+ sbcl-let-plus
+ sbcl-float-features))
+ (home-page "https://lisp-stat.dev/docs/manuals/distributions/")
+ (synopsis "Random variates for Common Lisp")
+ (description "The Distributions package provides a collection of
+probabilistic distributions and related functions")
+ (license license:ms-pl))))
+
+(define-public cl-distributions
+ (sbcl-package->cl-source-package sbcl-distributions))
+
+;; https://github.com/Lisp-Stat/cephes.cl/issues/2
+#;(define-public ecl-distributions
+ (sbcl-package->ecl-package sbcl-distributions))
+
(define-public sbcl-seria
(let ((commit "2bba04dc6abdc0b85a511cae9c460942e2ad305a")
(revision "0"))
--
2.38.1
J
[PATCH 7/8] gnu: Add cl-dfio.
(address . 60835@debbugs.gnu.org)(name . jgart)(address . jgart@dismail.de)
20230115212520.32718-7-jgart@dismail.de
* gnu/packages/lisp-xyz.scm (cl-dfio, sbcl-dfio): New variables.
---
gnu/packages/lisp-xyz.scm | 40 +++++++++++++++++++++++++++++++++++++++
1 file changed, 40 insertions(+)

Toggle diff (53 lines)
diff --git a/gnu/packages/lisp-xyz.scm b/gnu/packages/lisp-xyz.scm
index 18f64a5953..540e7b2211 100644
--- a/gnu/packages/lisp-xyz.scm
+++ b/gnu/packages/lisp-xyz.scm
@@ -26867,6 +26867,46 @@ (define-public cl-data-frame
(define-public ecl-data-frame
(sbcl-package->ecl-package sbcl-data-frame))
+(define-public sbcl-dfio
+ (let ((commit "f7984b792bf4d9010083db08472bc84d2d31430c")
+ (revision "0"))
+ (package
+ (name "sbcl-dfio")
+ (version (git-version "0.3.0" revision commit))
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/Lisp-Stat/dfio")
+ (commit commit)))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "1wka8y4526x8yy3asiy15jxdzhsmyiq6ra6wbi8a4vcry3g2v9a0"))))
+ (build-system asdf-build-system/sbcl)
+ (arguments '(#:asd-systems '("dfio" "dfio/json" "dfio/tests")))
+ (inputs
+ (list sbcl-alexandria
+ sbcl-anaphora
+ sbcl-data-frame
+ sbcl-yason
+ sbcl-dexador
+ sbcl-fare-csv
+ sbcl-let-plus))
+ (native-inputs
+ (list sbcl-clunit2))
+ (home-page "https://lisp-stat.dev/docs/manuals/data-frame/")
+ (synopsis "Read data to and from data frames")
+ (description "This package provides tools for manipulating data
+using a data frame.")
+ (license license:ms-pl))))
+
+(define-public cl-dfio
+ (sbcl-package->cl-source-package sbcl-dfio))
+
+;; https://github.com/Lisp-Stat/cephes.cl/issues/2
+#;(define-public ecl-dfio
+ (sbcl-package->ecl-package sbcl-dfio))
+
(define-public sbcl-seria
(let ((commit "2bba04dc6abdc0b85a511cae9c460942e2ad305a")
(revision "0"))
--
2.38.1
J
[PATCH 6/8] gnu: Add cl-data-frame.
(address . 60835@debbugs.gnu.org)(name . jgart)(address . jgart@dismail.de)
20230115212520.32718-6-jgart@dismail.de
* 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(+)

Toggle diff (54 lines)
diff --git a/gnu/packages/lisp-xyz.scm b/gnu/packages/lisp-xyz.scm
index 91863f09c9..18f64a5953 100644
--- a/gnu/packages/lisp-xyz.scm
+++ b/gnu/packages/lisp-xyz.scm
@@ -26826,6 +26826,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
J
[PATCH 8/8] gnu: Add cl-lisp-stat.
(address . 60835@debbugs.gnu.org)(name . jgart)(address . jgart@dismail.de)
20230115212520.32718-8-jgart@dismail.de
* gnu/packages/lisp-xyz.scm (cl-lisp-stat, sbcl-lisp-stat): New variables.
---
gnu/packages/lisp-xyz.scm | 43 +++++++++++++++++++++++++++++++++++++++
1 file changed, 43 insertions(+)

Toggle diff (56 lines)
diff --git a/gnu/packages/lisp-xyz.scm b/gnu/packages/lisp-xyz.scm
index 540e7b2211..10b940f732 100644
--- a/gnu/packages/lisp-xyz.scm
+++ b/gnu/packages/lisp-xyz.scm
@@ -26907,6 +26907,49 @@ (define-public cl-dfio
#;(define-public ecl-dfio
(sbcl-package->ecl-package sbcl-dfio))
+(define-public sbcl-lisp-stat
+ (let ((commit "357a0d2b5f68a5ff925776235c2b7455e12b78ba")
+ (revision "0"))
+ (package
+ (name "sbcl-lisp-stat")
+ (version (git-version "1.2.0" revision commit))
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/Lisp-Stat/lisp-stat")
+ (commit commit)))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "0qwlxrbwj884mr67sf6aj0zwrndv33aiiid4bqrkji41kjhqfcz5"))))
+ (build-system asdf-build-system/sbcl)
+ ;; https://github.com/Lisp-Stat/lisp-stat/issues/22
+ (arguments (list #:tests? #f))
+ (native-inputs (list sbcl-parachute))
+ (inputs
+ (list sbcl-alexandria
+ sbcl-alexandria-plus
+ sbcl-array-operations
+ sbcl-data-frame
+ sbcl-dfio
+ sbcl-dexador
+ sbcl-distributions
+ sbcl-numerical-utilities
+ sbcl-select
+ sbcl-statistics))
+ (home-page "https://lisp-stat.github.io/lisp-stat")
+ (synopsis "Statistical Computing in Common Lisp")
+ (description "This package provides a statistical computing
+environment for Common Lisp.")
+ (license license:ms-pl))))
+
+(define-public cl-lisp-stat
+ (sbcl-package->cl-source-package sbcl-lisp-stat))
+
+;; https://github.com/Lisp-Stat/cephes.cl/issues/2
+#;(define-public ecl-lisp-stat
+ (sbcl-package->ecl-package sbcl-lisp-stat))
+
(define-public sbcl-seria
(let ((commit "2bba04dc6abdc0b85a511cae9c460942e2ad305a")
(revision "0"))
--
2.38.1
J
[PATCH v2 1/8] gnu: Add cl-cephes.
(address . 60835@debbugs.gnu.org)
20230115215551.3740-1-jgart@dismail.de
* gnu/packages/lisp-xyz.scm (cl-cephes, sbcl-cephes): New variables.

Hi,

Here's v2 which disables tests on ecl-special-functions.

The tests hang indefinitely:


all best,

jgart
---
gnu/packages/lisp-xyz.scm | 32 ++++++++++++++++++++++++++++++++
1 file changed, 32 insertions(+)

Toggle diff (45 lines)
diff --git a/gnu/packages/lisp-xyz.scm b/gnu/packages/lisp-xyz.scm
index 35e10b3301..2da5f7858a 100644
--- a/gnu/packages/lisp-xyz.scm
+++ b/gnu/packages/lisp-xyz.scm
@@ -26677,6 +26677,38 @@ (define-public cl-variates
(define-public ecl-cl-variates
(sbcl-package->ecl-package sbcl-cl-variates))
+(define-public sbcl-cephes
+ (let ((commit "d87146fa38c8425ffb5fe425eee5eb3e818bacd4")
+ (revision "0"))
+ (package
+ (name "sbcl-cephes")
+ (version (git-version "1.2" revision commit))
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/Lisp-Stat/cephes.cl")
+ (commit commit)))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "09adls1lwwzwm1jmvhf11arwlsy5w0bi2rmniahas824mysv77lr"))))
+ (build-system asdf-build-system/sbcl)
+ (inputs
+ (list sbcl-cffi))
+ (home-page "https://lisp-stat.github.io/cephes.cl/")
+ (synopsis "Common Lisp wrapper for the Cephes Mathematical Library")
+ (description
+"This package provides a common lisp CFFI wrapper for the SciPy version
+of Cephes special functions.")
+ (license license:ms-pl))))
+
+(define-public cl-cephes
+ (sbcl-package->cl-source-package sbcl-cephes))
+
+;; https://github.com/Lisp-Stat/cephes.cl/issues/2
+#;(define-public ecl-cephes
+ (sbcl-package->ecl-package sbcl-cephes))
+
(define-public sbcl-seria
(let ((commit "2bba04dc6abdc0b85a511cae9c460942e2ad305a")
(revision "0"))
--
2.38.1
J
[PATCH v2 2/8] gnu: Add cl-statistics.
(address . 60835@debbugs.gnu.org)(name . jgart)(address . jgart@dismail.de)
20230115215551.3740-2-jgart@dismail.de
* gnu/packages/lisp-xyz.scm (cl-statistics, sbcl-statistics): New
variables.
---
gnu/packages/lisp-xyz.scm | 39 +++++++++++++++++++++++++++++++++++++++
1 file changed, 39 insertions(+)

Toggle diff (52 lines)
diff --git a/gnu/packages/lisp-xyz.scm b/gnu/packages/lisp-xyz.scm
index 2da5f7858a..b0fa3244d5 100644
--- a/gnu/packages/lisp-xyz.scm
+++ b/gnu/packages/lisp-xyz.scm
@@ -26709,6 +26709,45 @@ (define-public cl-cephes
#;(define-public ecl-cephes
(sbcl-package->ecl-package sbcl-cephes))
+(define-public sbcl-statistics
+ (let ((commit "94fc87a2bf81355a40ce3730b4ed77710ecfabaf")
+ (revision "0"))
+ (package
+ (name "sbcl-statistics")
+ (version (git-version "1.1.1" revision commit))
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/Lisp-Stat/statistics")
+ (commit commit)))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "0is69w6iwh4hyzc5ndgb3i2331f677sa7kw5wy8pmx6hawbkgyir"))))
+ (build-system asdf-build-system/sbcl)
+ (native-inputs (list sbcl-clunit2))
+ (inputs
+ (list sbcl-alexandria
+ sbcl-anaphora
+ sbcl-distributions
+ sbcl-let-plus
+ sbcl-numerical-utilities
+ sbcl-conduit-packages))
+ ;; https://github.com/Lisp-Stat/statistics/issues/2
+ (home-page "https://lisp-stat.dev/docs/")
+ (synopsis "Statistical functions in Common Lisp")
+ (description "This package provides a consolidation of Common
+ Lisp statistics
+libraries.")
+ (license (list license:ms-pl license:expat)))))
+
+(define-public cl-statistics
+ (sbcl-package->cl-source-package sbcl-statistics))
+
+;; https://github.com/Lisp-Stat/cephes.cl/issues/2
+#;(define-public ecl-statistics
+ (sbcl-package->ecl-package sbcl-statistics))
+
(define-public sbcl-seria
(let ((commit "2bba04dc6abdc0b85a511cae9c460942e2ad305a")
(revision "0"))
--
2.38.1
J
[PATCH v2 3/8] gnu: Add cl-special-functions.
(address . 60835@debbugs.gnu.org)(name . jgart)(address . jgart@dismail.de)
20230115215551.3740-3-jgart@dismail.de
* gnu/packages/lisp-xyz.scm (cl-special-functions, ecl-special-functions,
sbcl-special-functions): New variables.
---
gnu/packages/lisp-xyz.scm | 40 +++++++++++++++++++++++++++++++++++++++
1 file changed, 40 insertions(+)

Toggle diff (53 lines)
diff --git a/gnu/packages/lisp-xyz.scm b/gnu/packages/lisp-xyz.scm
index b0fa3244d5..e1b1f74d61 100644
--- a/gnu/packages/lisp-xyz.scm
+++ b/gnu/packages/lisp-xyz.scm
@@ -26748,6 +26748,46 @@ (define-public cl-statistics
#;(define-public ecl-statistics
(sbcl-package->ecl-package sbcl-statistics))
+(define-public sbcl-special-functions
+ (let ((commit "f3ca2792ff3f8351839c366413da6b1bb2965a58")
+ (revision "0"))
+ (package
+ (name "sbcl-special-functions")
+ (version (git-version "1.2.0" revision commit))
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/Lisp-Stat/special-functions")
+ (commit commit)))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "092szffy7zfxgrvfck11wnj8l0mgcym13yiafj01ad02lbj1fnnv"))))
+ (build-system asdf-build-system/sbcl)
+ (native-inputs (list sbcl-cl-variates sbcl-fiveam sbcl-select))
+ (inputs
+ (list sbcl-alexandria-plus
+ sbcl-numerical-utilities
+ sbcl-let-plus
+ sbcl-float-features
+ sbcl-conduit-packages))
+ (home-page "https://lisp-stat.dev/docs/resources/special-functions/")
+ (synopsis "Random variates for Common Lisp")
+ (description "This library implements
+@url{http://specialfunctionswiki.org/index.php/Main_Page, special
+functions} and has a focus on high accuracy double-float calculations
+using the latest algorithms.")
+ (license license:ms-pl))))
+
+(define-public cl-special-functions
+ (sbcl-package->cl-source-package sbcl-special-functions))
+
+(define-public ecl-special-functions
+ (package
+ (inherit (sbcl-package->ecl-package sbcl-special-functions))
+ ;; https://github.com/Lisp-Stat/special-functions/issues/4
+ (arguments (list #:tests? #f))))
+
(define-public sbcl-seria
(let ((commit "2bba04dc6abdc0b85a511cae9c460942e2ad305a")
(revision "0"))
--
2.38.1
J
[PATCH v2 4/8] gnu: Add cl-distributions.
(address . 60835@debbugs.gnu.org)(name . jgart)(address . jgart@dismail.de)
20230115215551.3740-4-jgart@dismail.de
* gnu/packages/lisp-xyz.scm (cl-distributions, sbcl-distributions):
New variables.
---
gnu/packages/lisp-xyz.scm | 41 +++++++++++++++++++++++++++++++++++++++
1 file changed, 41 insertions(+)

Toggle diff (54 lines)
diff --git a/gnu/packages/lisp-xyz.scm b/gnu/packages/lisp-xyz.scm
index e1b1f74d61..77b885adc1 100644
--- a/gnu/packages/lisp-xyz.scm
+++ b/gnu/packages/lisp-xyz.scm
@@ -26788,6 +26788,47 @@ (define-public ecl-special-functions
;; https://github.com/Lisp-Stat/special-functions/issues/4
(arguments (list #:tests? #f))))
+(define-public sbcl-distributions
+ (let ((commit "ea72622073ee7e005dfdc621ce1e5a83b22bb39e")
+ (revision "0"))
+ (package
+ (name "sbcl-distributions")
+ (version (git-version "1.0.0" revision commit))
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/Lisp-Stat/distributions")
+ (commit commit)))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "1fkzigd0s0s0mvszgmv04yc8jp9gm4812445hfh6kpz6cjy5zpsk"))))
+ (build-system asdf-build-system/sbcl)
+ ;; https://github.com/Lisp-Stat/distributions/issues/1
+ (arguments (list #:tests? #f))
+ (native-inputs (list sbcl-fiveam))
+ (inputs
+ (list sbcl-alexandria
+ sbcl-anaphora
+ sbcl-array-operations
+ sbcl-cephes
+ sbcl-numerical-utilities
+ sbcl-special-functions
+ sbcl-let-plus
+ sbcl-float-features))
+ (home-page "https://lisp-stat.dev/docs/manuals/distributions/")
+ (synopsis "Random variates for Common Lisp")
+ (description "The Distributions package provides a collection of
+probabilistic distributions and related functions")
+ (license license:ms-pl))))
+
+(define-public cl-distributions
+ (sbcl-package->cl-source-package sbcl-distributions))
+
+;; https://github.com/Lisp-Stat/cephes.cl/issues/2
+#;(define-public ecl-distributions
+ (sbcl-package->ecl-package sbcl-distributions))
+
(define-public sbcl-seria
(let ((commit "2bba04dc6abdc0b85a511cae9c460942e2ad305a")
(revision "0"))
--
2.38.1
J
[PATCH v2 5/8] gnu: Add cl-data-frame.
(address . 60835@debbugs.gnu.org)(name . jgart)(address . jgart@dismail.de)
20230115215551.3740-5-jgart@dismail.de
* 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(+)

Toggle diff (54 lines)
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
J
[PATCH v2 6/8] gnu: Add cl-dfio.
(address . 60835@debbugs.gnu.org)(name . jgart)(address . jgart@dismail.de)
20230115215551.3740-6-jgart@dismail.de
* gnu/packages/lisp-xyz.scm (cl-dfio, sbcl-dfio): New variables.
---
gnu/packages/lisp-xyz.scm | 40 +++++++++++++++++++++++++++++++++++++++
1 file changed, 40 insertions(+)

Toggle diff (53 lines)
diff --git a/gnu/packages/lisp-xyz.scm b/gnu/packages/lisp-xyz.scm
index 012ec02030..49f3a72cba 100644
--- a/gnu/packages/lisp-xyz.scm
+++ b/gnu/packages/lisp-xyz.scm
@@ -26870,6 +26870,46 @@ (define-public cl-data-frame
(define-public ecl-data-frame
(sbcl-package->ecl-package sbcl-data-frame))
+(define-public sbcl-dfio
+ (let ((commit "f7984b792bf4d9010083db08472bc84d2d31430c")
+ (revision "0"))
+ (package
+ (name "sbcl-dfio")
+ (version (git-version "0.3.0" revision commit))
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/Lisp-Stat/dfio")
+ (commit commit)))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "1wka8y4526x8yy3asiy15jxdzhsmyiq6ra6wbi8a4vcry3g2v9a0"))))
+ (build-system asdf-build-system/sbcl)
+ (arguments '(#:asd-systems '("dfio" "dfio/json" "dfio/tests")))
+ (inputs
+ (list sbcl-alexandria
+ sbcl-anaphora
+ sbcl-data-frame
+ sbcl-yason
+ sbcl-dexador
+ sbcl-fare-csv
+ sbcl-let-plus))
+ (native-inputs
+ (list sbcl-clunit2))
+ (home-page "https://lisp-stat.dev/docs/manuals/data-frame/")
+ (synopsis "Read data to and from data frames")
+ (description "This package provides tools for manipulating data
+using a data frame.")
+ (license license:ms-pl))))
+
+(define-public cl-dfio
+ (sbcl-package->cl-source-package sbcl-dfio))
+
+;; https://github.com/Lisp-Stat/cephes.cl/issues/2
+#;(define-public ecl-dfio
+ (sbcl-package->ecl-package sbcl-dfio))
+
(define-public sbcl-seria
(let ((commit "2bba04dc6abdc0b85a511cae9c460942e2ad305a")
(revision "0"))
--
2.38.1
J
[PATCH v2 7/8] gnu: Add cl-lisp-stat.
(address . 60835@debbugs.gnu.org)(name . jgart)(address . jgart@dismail.de)
20230115215551.3740-7-jgart@dismail.de
* gnu/packages/lisp-xyz.scm (cl-lisp-stat, sbcl-lisp-stat): New variables.
---
gnu/packages/lisp-xyz.scm | 43 +++++++++++++++++++++++++++++++++++++++
1 file changed, 43 insertions(+)

Toggle diff (56 lines)
diff --git a/gnu/packages/lisp-xyz.scm b/gnu/packages/lisp-xyz.scm
index 49f3a72cba..344de5f9ec 100644
--- a/gnu/packages/lisp-xyz.scm
+++ b/gnu/packages/lisp-xyz.scm
@@ -26910,6 +26910,49 @@ (define-public cl-dfio
#;(define-public ecl-dfio
(sbcl-package->ecl-package sbcl-dfio))
+(define-public sbcl-lisp-stat
+ (let ((commit "357a0d2b5f68a5ff925776235c2b7455e12b78ba")
+ (revision "0"))
+ (package
+ (name "sbcl-lisp-stat")
+ (version (git-version "1.2.0" revision commit))
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/Lisp-Stat/lisp-stat")
+ (commit commit)))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "0qwlxrbwj884mr67sf6aj0zwrndv33aiiid4bqrkji41kjhqfcz5"))))
+ (build-system asdf-build-system/sbcl)
+ ;; https://github.com/Lisp-Stat/lisp-stat/issues/22
+ (arguments (list #:tests? #f))
+ (native-inputs (list sbcl-parachute))
+ (inputs
+ (list sbcl-alexandria
+ sbcl-alexandria-plus
+ sbcl-array-operations
+ sbcl-data-frame
+ sbcl-dfio
+ sbcl-dexador
+ sbcl-distributions
+ sbcl-numerical-utilities
+ sbcl-select
+ sbcl-statistics))
+ (home-page "https://lisp-stat.github.io/lisp-stat")
+ (synopsis "Statistical Computing in Common Lisp")
+ (description "This package provides a statistical computing
+environment for Common Lisp.")
+ (license license:ms-pl))))
+
+(define-public cl-lisp-stat
+ (sbcl-package->cl-source-package sbcl-lisp-stat))
+
+;; https://github.com/Lisp-Stat/cephes.cl/issues/2
+#;(define-public ecl-lisp-stat
+ (sbcl-package->ecl-package sbcl-lisp-stat))
+
(define-public sbcl-seria
(let ((commit "2bba04dc6abdc0b85a511cae9c460942e2ad305a")
(revision "0"))
--
2.38.1
J
[PATCH v2 8/8] gnu: qutebrowser: Add note to description about font rendering bug.
(address . 60835@debbugs.gnu.org)(name . jgart)(address . jgart@dismail.de)
20230115215551.3740-8-jgart@dismail.de
* gnu/packages/web-browsers.scm (qutebrowser): Add note.
[description]: Add note about font rendering bug.
---
gnu/packages/web-browsers.scm | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)

Toggle diff (19 lines)
diff --git a/gnu/packages/web-browsers.scm b/gnu/packages/web-browsers.scm
index a126902395..9903f1f4aa 100644
--- a/gnu/packages/web-browsers.scm
+++ b/gnu/packages/web-browsers.scm
@@ -548,7 +548,11 @@ (define-public qutebrowser
(home-page "https://qutebrowser.org/")
(synopsis "Minimal, keyboard-focused, vim-like web browser")
(description "qutebrowser is a keyboard-focused browser with a minimal
-GUI. It is based on PyQt5 and QtWebEngine.")
+GUI. It is based on PyQt5 and QtWebEngine. Due to a
+@url{https://bugs.chromium.org/p/chromium/issues/detail?id=1164975,
+known bug} in qtwebengine, add @code{c.qt.args =
+['disable-seccomp-filter-sandbox']} to your @file{config.py} in order
+to allow fonts to render properly.")
(license license:gpl3+)))
(define-public vimb
--
2.38.1
J
[PATCH v3 1/8] gnu: Add cl-variates.
(address . 60835@debbugs.gnu.org)
20230115215913.3930-1-jgart@dismail.de
* gnu/packages/lisp-xyz.scm (cl-variates, ecl-cl-variates,
sbcl-cl-variates): New variables.

Sorry, I accidentally bunched an unrelated patch in v2. Here's v3.

all best,

jgart
---
gnu/packages/lisp-xyz.scm | 35 ++++++++++++++++++++++++++++++++++-
1 file changed, 34 insertions(+), 1 deletion(-)

Toggle diff (55 lines)
diff --git a/gnu/packages/lisp-xyz.scm b/gnu/packages/lisp-xyz.scm
index 943d295c5d..35e10b3301 100644
--- a/gnu/packages/lisp-xyz.scm
+++ b/gnu/packages/lisp-xyz.scm
@@ -28,7 +28,7 @@
;;; Copyright © 2021 Cameron Chaparro <cameron@cameronchaparro.com>
;;; Copyright © 2021 Charles Jackson <charles.b.jackson@protonmail.com>
;;; Copyright © 2021, 2022 Foo Chuan Wei <chuanwei.foo@hotmail.com>
-;;; Copyright © 2021, 2022 jgart <jgart@dismail.de>
+;;; Copyright © 2021, 2022, 2023 jgart <jgart@dismail.de>
;;; Copyright © 2021 Aleksandr Vityazev <avityazev@posteo.org>
;;; Copyright © 2021 Jacob MacDonald <jaccarmac@gmail.com>
;;; Copyright © 2022 Jai Vetrivelan <jaivetrivelan@gmail.com>
@@ -26644,6 +26644,39 @@ (define-public cl-smug
(define-public ecl-smug
(sbcl-package->ecl-package sbcl-smug))
+(define-public sbcl-cl-variates
+ (let ((commit "4e7548754d8a8731a42487fae31174db4bf36d47")
+ (revision "0"))
+ (package
+ (name "sbcl-cl-variates")
+ (version "0.9.0")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://gitlab.common-lisp.net/cl-variates/cl-variates")
+ (commit commit)))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "03wnvfi3yfflpvi0mr732r834msij4vrwdbgf6csh0b8kqxl47zn"))))
+ (build-system asdf-build-system/sbcl)
+ ;; USE-PACKAGE #<PACKAGE "CL-VARIATES"> causes name-conflicts in
+ ;; #<PACKAGE "CL-VARIATES-TEST"> between the following symbols:
+ ;; CL-VARIATES:RANDOM-ELEMENT, LIFT:RANDOM-ELEMENT
+ (arguments (list #:tests? #f))
+ (native-inputs (list sbcl-lift))
+ (home-page "https://gitlab.common-lisp.net/cl-variates/cl-variates")
+ (synopsis "Portable Common Lisp Random Number Generation")
+ (description "The variates package provides portable random number
+ generation as well as numerous distributions.")
+ (license license:expat))))
+
+(define-public cl-variates
+ (sbcl-package->cl-source-package sbcl-cl-variates))
+
+(define-public ecl-cl-variates
+ (sbcl-package->ecl-package sbcl-cl-variates))
+
(define-public sbcl-seria
(let ((commit "2bba04dc6abdc0b85a511cae9c460942e2ad305a")
(revision "0"))
--
2.38.1
J
[PATCH v3 2/8] gnu: Add cl-cephes.
(address . 60835@debbugs.gnu.org)(name . jgart)(address . jgart@dismail.de)
20230115215913.3930-2-jgart@dismail.de
* gnu/packages/lisp-xyz.scm (cl-cephes, sbcl-cephes): New variables.
---
gnu/packages/lisp-xyz.scm | 32 ++++++++++++++++++++++++++++++++
1 file changed, 32 insertions(+)

Toggle diff (45 lines)
diff --git a/gnu/packages/lisp-xyz.scm b/gnu/packages/lisp-xyz.scm
index 35e10b3301..2da5f7858a 100644
--- a/gnu/packages/lisp-xyz.scm
+++ b/gnu/packages/lisp-xyz.scm
@@ -26677,6 +26677,38 @@ (define-public cl-variates
(define-public ecl-cl-variates
(sbcl-package->ecl-package sbcl-cl-variates))
+(define-public sbcl-cephes
+ (let ((commit "d87146fa38c8425ffb5fe425eee5eb3e818bacd4")
+ (revision "0"))
+ (package
+ (name "sbcl-cephes")
+ (version (git-version "1.2" revision commit))
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/Lisp-Stat/cephes.cl")
+ (commit commit)))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "09adls1lwwzwm1jmvhf11arwlsy5w0bi2rmniahas824mysv77lr"))))
+ (build-system asdf-build-system/sbcl)
+ (inputs
+ (list sbcl-cffi))
+ (home-page "https://lisp-stat.github.io/cephes.cl/")
+ (synopsis "Common Lisp wrapper for the Cephes Mathematical Library")
+ (description
+"This package provides a common lisp CFFI wrapper for the SciPy version
+of Cephes special functions.")
+ (license license:ms-pl))))
+
+(define-public cl-cephes
+ (sbcl-package->cl-source-package sbcl-cephes))
+
+;; https://github.com/Lisp-Stat/cephes.cl/issues/2
+#;(define-public ecl-cephes
+ (sbcl-package->ecl-package sbcl-cephes))
+
(define-public sbcl-seria
(let ((commit "2bba04dc6abdc0b85a511cae9c460942e2ad305a")
(revision "0"))
--
2.38.1
J
[PATCH v3 3/8] gnu: Add cl-statistics.
(address . 60835@debbugs.gnu.org)(name . jgart)(address . jgart@dismail.de)
20230115215913.3930-3-jgart@dismail.de
* gnu/packages/lisp-xyz.scm (cl-statistics, sbcl-statistics): New
variables.
---
gnu/packages/lisp-xyz.scm | 39 +++++++++++++++++++++++++++++++++++++++
1 file changed, 39 insertions(+)

Toggle diff (52 lines)
diff --git a/gnu/packages/lisp-xyz.scm b/gnu/packages/lisp-xyz.scm
index 2da5f7858a..b0fa3244d5 100644
--- a/gnu/packages/lisp-xyz.scm
+++ b/gnu/packages/lisp-xyz.scm
@@ -26709,6 +26709,45 @@ (define-public cl-cephes
#;(define-public ecl-cephes
(sbcl-package->ecl-package sbcl-cephes))
+(define-public sbcl-statistics
+ (let ((commit "94fc87a2bf81355a40ce3730b4ed77710ecfabaf")
+ (revision "0"))
+ (package
+ (name "sbcl-statistics")
+ (version (git-version "1.1.1" revision commit))
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/Lisp-Stat/statistics")
+ (commit commit)))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "0is69w6iwh4hyzc5ndgb3i2331f677sa7kw5wy8pmx6hawbkgyir"))))
+ (build-system asdf-build-system/sbcl)
+ (native-inputs (list sbcl-clunit2))
+ (inputs
+ (list sbcl-alexandria
+ sbcl-anaphora
+ sbcl-distributions
+ sbcl-let-plus
+ sbcl-numerical-utilities
+ sbcl-conduit-packages))
+ ;; https://github.com/Lisp-Stat/statistics/issues/2
+ (home-page "https://lisp-stat.dev/docs/")
+ (synopsis "Statistical functions in Common Lisp")
+ (description "This package provides a consolidation of Common
+ Lisp statistics
+libraries.")
+ (license (list license:ms-pl license:expat)))))
+
+(define-public cl-statistics
+ (sbcl-package->cl-source-package sbcl-statistics))
+
+;; https://github.com/Lisp-Stat/cephes.cl/issues/2
+#;(define-public ecl-statistics
+ (sbcl-package->ecl-package sbcl-statistics))
+
(define-public sbcl-seria
(let ((commit "2bba04dc6abdc0b85a511cae9c460942e2ad305a")
(revision "0"))
--
2.38.1
J
[PATCH v3 4/8] gnu: Add cl-special-functions.
(address . 60835@debbugs.gnu.org)(name . jgart)(address . jgart@dismail.de)
20230115215913.3930-4-jgart@dismail.de
* gnu/packages/lisp-xyz.scm (cl-special-functions, ecl-special-functions,
sbcl-special-functions): New variables.
---
gnu/packages/lisp-xyz.scm | 40 +++++++++++++++++++++++++++++++++++++++
1 file changed, 40 insertions(+)

Toggle diff (53 lines)
diff --git a/gnu/packages/lisp-xyz.scm b/gnu/packages/lisp-xyz.scm
index b0fa3244d5..e1b1f74d61 100644
--- a/gnu/packages/lisp-xyz.scm
+++ b/gnu/packages/lisp-xyz.scm
@@ -26748,6 +26748,46 @@ (define-public cl-statistics
#;(define-public ecl-statistics
(sbcl-package->ecl-package sbcl-statistics))
+(define-public sbcl-special-functions
+ (let ((commit "f3ca2792ff3f8351839c366413da6b1bb2965a58")
+ (revision "0"))
+ (package
+ (name "sbcl-special-functions")
+ (version (git-version "1.2.0" revision commit))
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/Lisp-Stat/special-functions")
+ (commit commit)))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "092szffy7zfxgrvfck11wnj8l0mgcym13yiafj01ad02lbj1fnnv"))))
+ (build-system asdf-build-system/sbcl)
+ (native-inputs (list sbcl-cl-variates sbcl-fiveam sbcl-select))
+ (inputs
+ (list sbcl-alexandria-plus
+ sbcl-numerical-utilities
+ sbcl-let-plus
+ sbcl-float-features
+ sbcl-conduit-packages))
+ (home-page "https://lisp-stat.dev/docs/resources/special-functions/")
+ (synopsis "Random variates for Common Lisp")
+ (description "This library implements
+@url{http://specialfunctionswiki.org/index.php/Main_Page, special
+functions} and has a focus on high accuracy double-float calculations
+using the latest algorithms.")
+ (license license:ms-pl))))
+
+(define-public cl-special-functions
+ (sbcl-package->cl-source-package sbcl-special-functions))
+
+(define-public ecl-special-functions
+ (package
+ (inherit (sbcl-package->ecl-package sbcl-special-functions))
+ ;; https://github.com/Lisp-Stat/special-functions/issues/4
+ (arguments (list #:tests? #f))))
+
(define-public sbcl-seria
(let ((commit "2bba04dc6abdc0b85a511cae9c460942e2ad305a")
(revision "0"))
--
2.38.1
J
[PATCH v3 5/8] gnu: Add cl-distributions.
(address . 60835@debbugs.gnu.org)(name . jgart)(address . jgart@dismail.de)
20230115215913.3930-5-jgart@dismail.de
* gnu/packages/lisp-xyz.scm (cl-distributions, sbcl-distributions):
New variables.
---
gnu/packages/lisp-xyz.scm | 41 +++++++++++++++++++++++++++++++++++++++
1 file changed, 41 insertions(+)

Toggle diff (54 lines)
diff --git a/gnu/packages/lisp-xyz.scm b/gnu/packages/lisp-xyz.scm
index e1b1f74d61..77b885adc1 100644
--- a/gnu/packages/lisp-xyz.scm
+++ b/gnu/packages/lisp-xyz.scm
@@ -26788,6 +26788,47 @@ (define-public ecl-special-functions
;; https://github.com/Lisp-Stat/special-functions/issues/4
(arguments (list #:tests? #f))))
+(define-public sbcl-distributions
+ (let ((commit "ea72622073ee7e005dfdc621ce1e5a83b22bb39e")
+ (revision "0"))
+ (package
+ (name "sbcl-distributions")
+ (version (git-version "1.0.0" revision commit))
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/Lisp-Stat/distributions")
+ (commit commit)))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "1fkzigd0s0s0mvszgmv04yc8jp9gm4812445hfh6kpz6cjy5zpsk"))))
+ (build-system asdf-build-system/sbcl)
+ ;; https://github.com/Lisp-Stat/distributions/issues/1
+ (arguments (list #:tests? #f))
+ (native-inputs (list sbcl-fiveam))
+ (inputs
+ (list sbcl-alexandria
+ sbcl-anaphora
+ sbcl-array-operations
+ sbcl-cephes
+ sbcl-numerical-utilities
+ sbcl-special-functions
+ sbcl-let-plus
+ sbcl-float-features))
+ (home-page "https://lisp-stat.dev/docs/manuals/distributions/")
+ (synopsis "Random variates for Common Lisp")
+ (description "The Distributions package provides a collection of
+probabilistic distributions and related functions")
+ (license license:ms-pl))))
+
+(define-public cl-distributions
+ (sbcl-package->cl-source-package sbcl-distributions))
+
+;; https://github.com/Lisp-Stat/cephes.cl/issues/2
+#;(define-public ecl-distributions
+ (sbcl-package->ecl-package sbcl-distributions))
+
(define-public sbcl-seria
(let ((commit "2bba04dc6abdc0b85a511cae9c460942e2ad305a")
(revision "0"))
--
2.38.1
J
[PATCH v3 6/8] gnu: Add cl-data-frame.
(address . 60835@debbugs.gnu.org)(name . jgart)(address . jgart@dismail.de)
20230115215913.3930-6-jgart@dismail.de
* 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(+)

Toggle diff (54 lines)
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
J
[PATCH v3 7/8] gnu: Add cl-dfio.
(address . 60835@debbugs.gnu.org)(name . jgart)(address . jgart@dismail.de)
20230115215913.3930-7-jgart@dismail.de
* gnu/packages/lisp-xyz.scm (cl-dfio, sbcl-dfio): New variables.
---
gnu/packages/lisp-xyz.scm | 40 +++++++++++++++++++++++++++++++++++++++
1 file changed, 40 insertions(+)

Toggle diff (53 lines)
diff --git a/gnu/packages/lisp-xyz.scm b/gnu/packages/lisp-xyz.scm
index 012ec02030..49f3a72cba 100644
--- a/gnu/packages/lisp-xyz.scm
+++ b/gnu/packages/lisp-xyz.scm
@@ -26870,6 +26870,46 @@ (define-public cl-data-frame
(define-public ecl-data-frame
(sbcl-package->ecl-package sbcl-data-frame))
+(define-public sbcl-dfio
+ (let ((commit "f7984b792bf4d9010083db08472bc84d2d31430c")
+ (revision "0"))
+ (package
+ (name "sbcl-dfio")
+ (version (git-version "0.3.0" revision commit))
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/Lisp-Stat/dfio")
+ (commit commit)))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "1wka8y4526x8yy3asiy15jxdzhsmyiq6ra6wbi8a4vcry3g2v9a0"))))
+ (build-system asdf-build-system/sbcl)
+ (arguments '(#:asd-systems '("dfio" "dfio/json" "dfio/tests")))
+ (inputs
+ (list sbcl-alexandria
+ sbcl-anaphora
+ sbcl-data-frame
+ sbcl-yason
+ sbcl-dexador
+ sbcl-fare-csv
+ sbcl-let-plus))
+ (native-inputs
+ (list sbcl-clunit2))
+ (home-page "https://lisp-stat.dev/docs/manuals/data-frame/")
+ (synopsis "Read data to and from data frames")
+ (description "This package provides tools for manipulating data
+using a data frame.")
+ (license license:ms-pl))))
+
+(define-public cl-dfio
+ (sbcl-package->cl-source-package sbcl-dfio))
+
+;; https://github.com/Lisp-Stat/cephes.cl/issues/2
+#;(define-public ecl-dfio
+ (sbcl-package->ecl-package sbcl-dfio))
+
(define-public sbcl-seria
(let ((commit "2bba04dc6abdc0b85a511cae9c460942e2ad305a")
(revision "0"))
--
2.38.1
J
[PATCH v3 8/8] gnu: Add cl-lisp-stat.
(address . 60835@debbugs.gnu.org)(name . jgart)(address . jgart@dismail.de)
20230115215913.3930-8-jgart@dismail.de
* gnu/packages/lisp-xyz.scm (cl-lisp-stat, sbcl-lisp-stat): New variables.
---
gnu/packages/lisp-xyz.scm | 43 +++++++++++++++++++++++++++++++++++++++
1 file changed, 43 insertions(+)

Toggle diff (56 lines)
diff --git a/gnu/packages/lisp-xyz.scm b/gnu/packages/lisp-xyz.scm
index 49f3a72cba..344de5f9ec 100644
--- a/gnu/packages/lisp-xyz.scm
+++ b/gnu/packages/lisp-xyz.scm
@@ -26910,6 +26910,49 @@ (define-public cl-dfio
#;(define-public ecl-dfio
(sbcl-package->ecl-package sbcl-dfio))
+(define-public sbcl-lisp-stat
+ (let ((commit "357a0d2b5f68a5ff925776235c2b7455e12b78ba")
+ (revision "0"))
+ (package
+ (name "sbcl-lisp-stat")
+ (version (git-version "1.2.0" revision commit))
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/Lisp-Stat/lisp-stat")
+ (commit commit)))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "0qwlxrbwj884mr67sf6aj0zwrndv33aiiid4bqrkji41kjhqfcz5"))))
+ (build-system asdf-build-system/sbcl)
+ ;; https://github.com/Lisp-Stat/lisp-stat/issues/22
+ (arguments (list #:tests? #f))
+ (native-inputs (list sbcl-parachute))
+ (inputs
+ (list sbcl-alexandria
+ sbcl-alexandria-plus
+ sbcl-array-operations
+ sbcl-data-frame
+ sbcl-dfio
+ sbcl-dexador
+ sbcl-distributions
+ sbcl-numerical-utilities
+ sbcl-select
+ sbcl-statistics))
+ (home-page "https://lisp-stat.github.io/lisp-stat")
+ (synopsis "Statistical Computing in Common Lisp")
+ (description "This package provides a statistical computing
+environment for Common Lisp.")
+ (license license:ms-pl))))
+
+(define-public cl-lisp-stat
+ (sbcl-package->cl-source-package sbcl-lisp-stat))
+
+;; https://github.com/Lisp-Stat/cephes.cl/issues/2
+#;(define-public ecl-lisp-stat
+ (sbcl-package->ecl-package sbcl-lisp-stat))
+
(define-public sbcl-seria
(let ((commit "2bba04dc6abdc0b85a511cae9c460942e2ad305a")
(revision "0"))
--
2.38.1
G
G
Guillaume Le Vaillant wrote on 18 Jan 2023 14:08
Re: [PATCH v3 1/8] gnu: Add cl-variates.
(name . jgart)(address . jgart@dismail.de)(address . 60835@debbugs.gnu.org)
87pmbc0yt8.fsf@kitej
Hi,
The patches don't apply cleanly; it looks like they are based on
a custom branch (the sbcl-seria package at the end of the patches'
context is not in Guix).
Could you send an updated patch series rebased on the master branch?
Thanks.
-----BEGIN PGP SIGNATURE-----

iIUEAREKAC0WIQTLxZxm7Ce5cXlAaz5r6CCK3yH+PwUCY8fwww8cZ2x2QHBvc3Rl
by5uZXQACgkQa+ggit8h/j94lwD+PlmvAYC71INbxCQqMx49qf1HZnvOFfImUe59
BncyIpoA/212J6ejmAtFprsX/IgdrkmzgI3R9TAiS5LmRa8ciOPw
=nzQa
-----END PGP SIGNATURE-----

J
[PATCH v4 1/8] gnu: Add cl-variates.
(address . 60835@debbugs.gnu.org)
20230118231548.4609-1-jgart@dismail.de
* gnu/packages/lisp-xyz.scm (cl-variates, ecl-cl-variates,
sbcl-cl-variates): New variables.

Hi Guillaume, thanks for the review.

Here is version 4 of the patch set rebased against the latest master commit as of now.

all best,

jgart
---
gnu/packages/lisp-xyz.scm | 35 ++++++++++++++++++++++++++++++++++-
1 file changed, 34 insertions(+), 1 deletion(-)

Toggle diff (55 lines)
diff --git a/gnu/packages/lisp-xyz.scm b/gnu/packages/lisp-xyz.scm
index 58fbef1900..cf8b3f63ae 100644
--- a/gnu/packages/lisp-xyz.scm
+++ b/gnu/packages/lisp-xyz.scm
@@ -28,7 +28,7 @@
;;; Copyright © 2021 Cameron Chaparro <cameron@cameronchaparro.com>
;;; Copyright © 2021 Charles Jackson <charles.b.jackson@protonmail.com>
;;; Copyright © 2021, 2022 Foo Chuan Wei <chuanwei.foo@hotmail.com>
-;;; Copyright © 2021, 2022 jgart <jgart@dismail.de>
+;;; Copyright © 2021, 2022, 2023 jgart <jgart@dismail.de>
;;; Copyright © 2021 Aleksandr Vityazev <avityazev@posteo.org>
;;; Copyright © 2021 Jacob MacDonald <jaccarmac@gmail.com>
;;; Copyright © 2022 Jai Vetrivelan <jaivetrivelan@gmail.com>
@@ -26702,6 +26702,39 @@ (define-public cl-smug
(define-public ecl-smug
(sbcl-package->ecl-package sbcl-smug))
+(define-public sbcl-cl-variates
+ (let ((commit "4e7548754d8a8731a42487fae31174db4bf36d47")
+ (revision "0"))
+ (package
+ (name "sbcl-cl-variates")
+ (version "0.9.0")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://gitlab.common-lisp.net/cl-variates/cl-variates")
+ (commit commit)))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "03wnvfi3yfflpvi0mr732r834msij4vrwdbgf6csh0b8kqxl47zn"))))
+ (build-system asdf-build-system/sbcl)
+ ;; USE-PACKAGE #<PACKAGE "CL-VARIATES"> causes name-conflicts in
+ ;; #<PACKAGE "CL-VARIATES-TEST"> between the following symbols:
+ ;; CL-VARIATES:RANDOM-ELEMENT, LIFT:RANDOM-ELEMENT
+ (arguments (list #:tests? #f))
+ (native-inputs (list sbcl-lift))
+ (home-page "https://gitlab.common-lisp.net/cl-variates/cl-variates")
+ (synopsis "Portable Common Lisp Random Number Generation")
+ (description "The variates package provides portable random number
+ generation as well as numerous distributions.")
+ (license license:expat))))
+
+(define-public cl-variates
+ (sbcl-package->cl-source-package sbcl-cl-variates))
+
+(define-public ecl-cl-variates
+ (sbcl-package->ecl-package sbcl-cl-variates))
+
(define-public sbcl-seria
(let ((commit "2bba04dc6abdc0b85a511cae9c460942e2ad305a")
(revision "0"))
--
2.38.1
J
[PATCH v4 2/8] gnu: Add cl-cephes.
(address . 60835@debbugs.gnu.org)(name . jgart)(address . jgart@dismail.de)
20230118231548.4609-2-jgart@dismail.de
* gnu/packages/lisp-xyz.scm (cl-cephes, sbcl-cephes): New variables.
---
gnu/packages/lisp-xyz.scm | 32 ++++++++++++++++++++++++++++++++
1 file changed, 32 insertions(+)

Toggle diff (45 lines)
diff --git a/gnu/packages/lisp-xyz.scm b/gnu/packages/lisp-xyz.scm
index cf8b3f63ae..90385e115a 100644
--- a/gnu/packages/lisp-xyz.scm
+++ b/gnu/packages/lisp-xyz.scm
@@ -26735,6 +26735,38 @@ (define-public cl-variates
(define-public ecl-cl-variates
(sbcl-package->ecl-package sbcl-cl-variates))
+(define-public sbcl-cephes
+ (let ((commit "d87146fa38c8425ffb5fe425eee5eb3e818bacd4")
+ (revision "0"))
+ (package
+ (name "sbcl-cephes")
+ (version (git-version "1.2" revision commit))
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/Lisp-Stat/cephes.cl")
+ (commit commit)))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "09adls1lwwzwm1jmvhf11arwlsy5w0bi2rmniahas824mysv77lr"))))
+ (build-system asdf-build-system/sbcl)
+ (inputs
+ (list sbcl-cffi))
+ (home-page "https://lisp-stat.github.io/cephes.cl/")
+ (synopsis "Common Lisp wrapper for the Cephes Mathematical Library")
+ (description
+"This package provides a common lisp CFFI wrapper for the SciPy version
+of Cephes special functions.")
+ (license license:ms-pl))))
+
+(define-public cl-cephes
+ (sbcl-package->cl-source-package sbcl-cephes))
+
+;; https://github.com/Lisp-Stat/cephes.cl/issues/2
+#;(define-public ecl-cephes
+ (sbcl-package->ecl-package sbcl-cephes))
+
(define-public sbcl-seria
(let ((commit "2bba04dc6abdc0b85a511cae9c460942e2ad305a")
(revision "0"))
--
2.38.1
J
[PATCH v4 3/8] gnu: Add cl-statistics.
(address . 60835@debbugs.gnu.org)(name . jgart)(address . jgart@dismail.de)
20230118231548.4609-3-jgart@dismail.de
* gnu/packages/lisp-xyz.scm (cl-statistics, sbcl-statistics): New
variables.
---
gnu/packages/lisp-xyz.scm | 39 +++++++++++++++++++++++++++++++++++++++
1 file changed, 39 insertions(+)

Toggle diff (52 lines)
diff --git a/gnu/packages/lisp-xyz.scm b/gnu/packages/lisp-xyz.scm
index 90385e115a..ff5c8a10e8 100644
--- a/gnu/packages/lisp-xyz.scm
+++ b/gnu/packages/lisp-xyz.scm
@@ -26767,6 +26767,45 @@ (define-public cl-cephes
#;(define-public ecl-cephes
(sbcl-package->ecl-package sbcl-cephes))
+(define-public sbcl-statistics
+ (let ((commit "94fc87a2bf81355a40ce3730b4ed77710ecfabaf")
+ (revision "0"))
+ (package
+ (name "sbcl-statistics")
+ (version (git-version "1.1.1" revision commit))
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/Lisp-Stat/statistics")
+ (commit commit)))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "0is69w6iwh4hyzc5ndgb3i2331f677sa7kw5wy8pmx6hawbkgyir"))))
+ (build-system asdf-build-system/sbcl)
+ (native-inputs (list sbcl-clunit2))
+ (inputs
+ (list sbcl-alexandria
+ sbcl-anaphora
+ sbcl-distributions
+ sbcl-let-plus
+ sbcl-numerical-utilities
+ sbcl-conduit-packages))
+ ;; https://github.com/Lisp-Stat/statistics/issues/2
+ (home-page "https://lisp-stat.dev/docs/")
+ (synopsis "Statistical functions in Common Lisp")
+ (description "This package provides a consolidation of Common
+ Lisp statistics
+libraries.")
+ (license (list license:ms-pl license:expat)))))
+
+(define-public cl-statistics
+ (sbcl-package->cl-source-package sbcl-statistics))
+
+;; https://github.com/Lisp-Stat/cephes.cl/issues/2
+#;(define-public ecl-statistics
+ (sbcl-package->ecl-package sbcl-statistics))
+
(define-public sbcl-seria
(let ((commit "2bba04dc6abdc0b85a511cae9c460942e2ad305a")
(revision "0"))
--
2.38.1
J
[PATCH v4 4/8] gnu: Add cl-special-functions.
(address . 60835@debbugs.gnu.org)(name . jgart)(address . jgart@dismail.de)
20230118231548.4609-4-jgart@dismail.de
* gnu/packages/lisp-xyz.scm (cl-special-functions, ecl-special-functions,
sbcl-special-functions): New variables.
---
gnu/packages/lisp-xyz.scm | 40 +++++++++++++++++++++++++++++++++++++++
1 file changed, 40 insertions(+)

Toggle diff (53 lines)
diff --git a/gnu/packages/lisp-xyz.scm b/gnu/packages/lisp-xyz.scm
index ff5c8a10e8..c27e3e1650 100644
--- a/gnu/packages/lisp-xyz.scm
+++ b/gnu/packages/lisp-xyz.scm
@@ -26806,6 +26806,46 @@ (define-public cl-statistics
#;(define-public ecl-statistics
(sbcl-package->ecl-package sbcl-statistics))
+(define-public sbcl-special-functions
+ (let ((commit "f3ca2792ff3f8351839c366413da6b1bb2965a58")
+ (revision "0"))
+ (package
+ (name "sbcl-special-functions")
+ (version (git-version "1.2.0" revision commit))
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/Lisp-Stat/special-functions")
+ (commit commit)))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "092szffy7zfxgrvfck11wnj8l0mgcym13yiafj01ad02lbj1fnnv"))))
+ (build-system asdf-build-system/sbcl)
+ (native-inputs (list sbcl-cl-variates sbcl-fiveam sbcl-select))
+ (inputs
+ (list sbcl-alexandria-plus
+ sbcl-numerical-utilities
+ sbcl-let-plus
+ sbcl-float-features
+ sbcl-conduit-packages))
+ (home-page "https://lisp-stat.dev/docs/resources/special-functions/")
+ (synopsis "Random variates for Common Lisp")
+ (description "This library implements
+@url{http://specialfunctionswiki.org/index.php/Main_Page, special
+functions} and has a focus on high accuracy double-float calculations
+using the latest algorithms.")
+ (license license:ms-pl))))
+
+(define-public cl-special-functions
+ (sbcl-package->cl-source-package sbcl-special-functions))
+
+(define-public ecl-special-functions
+ (package
+ (inherit (sbcl-package->ecl-package sbcl-special-functions))
+ ;; https://github.com/Lisp-Stat/special-functions/issues/4
+ (arguments (list #:tests? #f))))
+
(define-public sbcl-seria
(let ((commit "2bba04dc6abdc0b85a511cae9c460942e2ad305a")
(revision "0"))
--
2.38.1
J
[PATCH v4 5/8] gnu: Add cl-distributions.
(address . 60835@debbugs.gnu.org)(name . jgart)(address . jgart@dismail.de)
20230118231548.4609-5-jgart@dismail.de
* gnu/packages/lisp-xyz.scm (cl-distributions, sbcl-distributions):
New variables.
---
gnu/packages/lisp-xyz.scm | 41 +++++++++++++++++++++++++++++++++++++++
1 file changed, 41 insertions(+)

Toggle diff (54 lines)
diff --git a/gnu/packages/lisp-xyz.scm b/gnu/packages/lisp-xyz.scm
index c27e3e1650..a974958a83 100644
--- a/gnu/packages/lisp-xyz.scm
+++ b/gnu/packages/lisp-xyz.scm
@@ -26846,6 +26846,47 @@ (define-public ecl-special-functions
;; https://github.com/Lisp-Stat/special-functions/issues/4
(arguments (list #:tests? #f))))
+(define-public sbcl-distributions
+ (let ((commit "ea72622073ee7e005dfdc621ce1e5a83b22bb39e")
+ (revision "0"))
+ (package
+ (name "sbcl-distributions")
+ (version (git-version "1.0.0" revision commit))
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/Lisp-Stat/distributions")
+ (commit commit)))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "1fkzigd0s0s0mvszgmv04yc8jp9gm4812445hfh6kpz6cjy5zpsk"))))
+ (build-system asdf-build-system/sbcl)
+ ;; https://github.com/Lisp-Stat/distributions/issues/1
+ (arguments (list #:tests? #f))
+ (native-inputs (list sbcl-fiveam))
+ (inputs
+ (list sbcl-alexandria
+ sbcl-anaphora
+ sbcl-array-operations
+ sbcl-cephes
+ sbcl-numerical-utilities
+ sbcl-special-functions
+ sbcl-let-plus
+ sbcl-float-features))
+ (home-page "https://lisp-stat.dev/docs/manuals/distributions/")
+ (synopsis "Random variates for Common Lisp")
+ (description "The Distributions package provides a collection of
+probabilistic distributions and related functions")
+ (license license:ms-pl))))
+
+(define-public cl-distributions
+ (sbcl-package->cl-source-package sbcl-distributions))
+
+;; https://github.com/Lisp-Stat/cephes.cl/issues/2
+#;(define-public ecl-distributions
+ (sbcl-package->ecl-package sbcl-distributions))
+
(define-public sbcl-seria
(let ((commit "2bba04dc6abdc0b85a511cae9c460942e2ad305a")
(revision "0"))
--
2.38.1
J
[PATCH v4 6/8] gnu: Add cl-data-frame.
(address . 60835@debbugs.gnu.org)(name . jgart)(address . jgart@dismail.de)
20230118231548.4609-6-jgart@dismail.de
* 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(+)

Toggle diff (54 lines)
diff --git a/gnu/packages/lisp-xyz.scm b/gnu/packages/lisp-xyz.scm
index a974958a83..cffef574a8 100644
--- a/gnu/packages/lisp-xyz.scm
+++ b/gnu/packages/lisp-xyz.scm
@@ -26887,6 +26887,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
J
[PATCH v4 7/8] gnu: Add cl-dfio.
(address . 60835@debbugs.gnu.org)(name . jgart)(address . jgart@dismail.de)
20230118231548.4609-7-jgart@dismail.de
* gnu/packages/lisp-xyz.scm (cl-dfio, sbcl-dfio): New variables.
---
gnu/packages/lisp-xyz.scm | 40 +++++++++++++++++++++++++++++++++++++++
1 file changed, 40 insertions(+)

Toggle diff (53 lines)
diff --git a/gnu/packages/lisp-xyz.scm b/gnu/packages/lisp-xyz.scm
index cffef574a8..1a3c7dd3ff 100644
--- a/gnu/packages/lisp-xyz.scm
+++ b/gnu/packages/lisp-xyz.scm
@@ -26928,6 +26928,46 @@ (define-public cl-data-frame
(define-public ecl-data-frame
(sbcl-package->ecl-package sbcl-data-frame))
+(define-public sbcl-dfio
+ (let ((commit "f7984b792bf4d9010083db08472bc84d2d31430c")
+ (revision "0"))
+ (package
+ (name "sbcl-dfio")
+ (version (git-version "0.3.0" revision commit))
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/Lisp-Stat/dfio")
+ (commit commit)))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "1wka8y4526x8yy3asiy15jxdzhsmyiq6ra6wbi8a4vcry3g2v9a0"))))
+ (build-system asdf-build-system/sbcl)
+ (arguments '(#:asd-systems '("dfio" "dfio/json" "dfio/tests")))
+ (inputs
+ (list sbcl-alexandria
+ sbcl-anaphora
+ sbcl-data-frame
+ sbcl-yason
+ sbcl-dexador
+ sbcl-fare-csv
+ sbcl-let-plus))
+ (native-inputs
+ (list sbcl-clunit2))
+ (home-page "https://lisp-stat.dev/docs/manuals/data-frame/")
+ (synopsis "Read data to and from data frames")
+ (description "This package provides tools for manipulating data
+using a data frame.")
+ (license license:ms-pl))))
+
+(define-public cl-dfio
+ (sbcl-package->cl-source-package sbcl-dfio))
+
+;; https://github.com/Lisp-Stat/cephes.cl/issues/2
+#;(define-public ecl-dfio
+ (sbcl-package->ecl-package sbcl-dfio))
+
(define-public sbcl-seria
(let ((commit "2bba04dc6abdc0b85a511cae9c460942e2ad305a")
(revision "0"))
--
2.38.1
J
[PATCH v4 8/8] gnu: Add cl-lisp-stat.
(address . 60835@debbugs.gnu.org)(name . jgart)(address . jgart@dismail.de)
20230118231548.4609-8-jgart@dismail.de
* gnu/packages/lisp-xyz.scm (cl-lisp-stat, sbcl-lisp-stat): New variables.
---
gnu/packages/lisp-xyz.scm | 43 +++++++++++++++++++++++++++++++++++++++
1 file changed, 43 insertions(+)

Toggle diff (56 lines)
diff --git a/gnu/packages/lisp-xyz.scm b/gnu/packages/lisp-xyz.scm
index 1a3c7dd3ff..27ab680352 100644
--- a/gnu/packages/lisp-xyz.scm
+++ b/gnu/packages/lisp-xyz.scm
@@ -26968,6 +26968,49 @@ (define-public cl-dfio
#;(define-public ecl-dfio
(sbcl-package->ecl-package sbcl-dfio))
+(define-public sbcl-lisp-stat
+ (let ((commit "357a0d2b5f68a5ff925776235c2b7455e12b78ba")
+ (revision "0"))
+ (package
+ (name "sbcl-lisp-stat")
+ (version (git-version "1.2.0" revision commit))
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/Lisp-Stat/lisp-stat")
+ (commit commit)))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "0qwlxrbwj884mr67sf6aj0zwrndv33aiiid4bqrkji41kjhqfcz5"))))
+ (build-system asdf-build-system/sbcl)
+ ;; https://github.com/Lisp-Stat/lisp-stat/issues/22
+ (arguments (list #:tests? #f))
+ (native-inputs (list sbcl-parachute))
+ (inputs
+ (list sbcl-alexandria
+ sbcl-alexandria-plus
+ sbcl-array-operations
+ sbcl-data-frame
+ sbcl-dfio
+ sbcl-dexador
+ sbcl-distributions
+ sbcl-numerical-utilities
+ sbcl-select
+ sbcl-statistics))
+ (home-page "https://lisp-stat.github.io/lisp-stat")
+ (synopsis "Statistical Computing in Common Lisp")
+ (description "This package provides a statistical computing
+environment for Common Lisp.")
+ (license license:ms-pl))))
+
+(define-public cl-lisp-stat
+ (sbcl-package->cl-source-package sbcl-lisp-stat))
+
+;; https://github.com/Lisp-Stat/cephes.cl/issues/2
+#;(define-public ecl-lisp-stat
+ (sbcl-package->ecl-package sbcl-lisp-stat))
+
(define-public sbcl-seria
(let ((commit "2bba04dc6abdc0b85a511cae9c460942e2ad305a")
(revision "0"))
--
2.38.1
G
G
Guillaume Le Vaillant wrote on 20 Jan 2023 19:36
Re: [PATCH v4 1/8] gnu: Add cl-variates.
(name . jgart)(address . jgart@dismail.de)(address . 60835@debbugs.gnu.org)
87ilh159pz.fsf@kitej
jgart <jgart@dismail.de> skribis:

Toggle quote (7 lines)
> * gnu/packages/lisp-xyz.scm (cl-variates, ecl-cl-variates,
> sbcl-cl-variates): New variables.
>
> Hi Guillaume, thanks for the review.
>
> Here is version 4 of the patch set rebased against the latest master commit as of now.

Hi,
It looks like the patches are still based on a different branch.
They end with:

Toggle snippet (6 lines)
+
(define-public sbcl-seria
(let ((commit "2bba04dc6abdc0b85a511cae9c460942e2ad305a")
(revision "0"))

whereas if they were based on the master branch they would end with:

Toggle snippet (6 lines)
+
;;;
;;; Avoid adding new packages to the end of this file. To reduce the chances
;;; of a merge conflict, place them above by existing packages with similar

What git command did you use to make the patch series?
-----BEGIN PGP SIGNATURE-----

iIUEAREKAC0WIQTLxZxm7Ce5cXlAaz5r6CCK3yH+PwUCY8rgiA8cZ2x2QHBvc3Rl
by5uZXQACgkQa+ggit8h/j+uzQD/UpvYpx5/RPoOHiLKJjhz/stoioOcppJWWuyp
t6n1I3wA/imZ4MiX74wz8jczBOuMOxvuenrW8CDE0DdQygKgBjTp
=16z7
-----END PGP SIGNATURE-----

J
Re: [PATCH 0/5] Lisp-Stat
(address . 60835@debbugs.gnu.org)(name . Guillaume Le Vaillant)(address . glv@posteo.net)
eec6ee88b5bb333a125f9ae5cc2dc6db@dismail.de
hmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmm

I took that patch from master, I'm pretty sure ;()

What is the error that you get when you try to apply the patch series?

all best,

jgart
G
G
Guillaume Le Vaillant wrote on 1 Feb 2023 15:32
(name . jgart)(address . jgart@dismail.de)(address . 60835@debbugs.gnu.org)
87mt5xla8c.fsf@kitej
"jgart" <jgart@dismail.de> skribis:

Toggle quote (4 lines)
> hmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmm
>
> I took that patch from master, I'm pretty sure ;()

According to the patches you sent, the branch they are based on has
a sbcl-seria package near the end of "lisp-xyz.scm", but the master
branch of Guix doesn't.


Toggle quote (2 lines)
> What is the error that you get when you try to apply the patch series?

When trying to apply the patches I get error messages such as:

Toggle snippet (5 lines)
Applying: gnu: Add cl-variates.
error: patch failed: gnu/packages/lisp-xyz.scm:26702
error: gnu/packages/lisp-xyz.scm: patch does not apply
Patch failed at 0001 gnu: Add cl-variates.
-----BEGIN PGP SIGNATURE-----

iIUEAREKAC0WIQTLxZxm7Ce5cXlAaz5r6CCK3yH+PwUCY9p58w8cZ2x2QHBvc3Rl
by5uZXQACgkQa+ggit8h/j8qEAD+N+DfyvhZf7i5wsxp3jostzdnhW5MYw6YNxfx
/kfkTfsA/0Yi+Vw6QS8V33P6q04s9DQ9+2vET0Q1b9zsN2Eyx9LZ
=hdq4
-----END PGP SIGNATURE-----

G
G
Guillaume Le Vaillant wrote on 17 Feb 2023 19:20
(name . jgart)(address . jgart@dismail.de)(address . 60835-done@debbugs.gnu.org)
87cz68p2vu.fsf@kitej
I applied the patches using manual copy/paste/fix, and pushed them as
5302cfab43ed5e1b9f41a00663564dabb35503d2 and following.
-----BEGIN PGP SIGNATURE-----

iIUEAREKAC0WIQTLxZxm7Ce5cXlAaz5r6CCK3yH+PwUCY+/GJQ8cZ2x2QHBvc3Rl
by5uZXQACgkQa+ggit8h/j+zkwEAi9UU82O81YKtbLNQ81xyVydTmMS5eFLjLTlh
cqMUHScA/jgULdilfwAZHYauPEsH8GTWH/+CqORf5RbpyQ52YHm+
=YZra
-----END PGP SIGNATURE-----

Closed
J
(name . Guillaume Le Vaillant)(address . glv@posteo.net)(address . 60835-done@debbugs.gnu.org)
73b25a2ca1ff038271db42e8a15a160c@dismail.de
Hi Guillaume,

Toggle quote (2 lines)
> I applied the patches using manual copy/paste/fix, and pushed them as

Sorry I couldn't get to them in time! I've been traveling since the start of February and haven't had the time.

It is much appreciated that you applied them.

Thank you!

jgart
Closed
?
Your comment

This issue is archived.

To comment on this conversation send an email to 60835@debbugs.gnu.org

To respond to this issue using the mumi CLI, first switch to it
mumi current 60835
Then, you may apply the latest patchset in this issue (with sign off)
mumi am -- -s
Or, compose a reply to this issue
mumi compose
Or, send patches to this issue
mumi send-email *.patch