summaryrefslogtreecommitdiff
path: root/gnu/packages
diff options
context:
space:
mode:
authorJonas Freimuth <jonas.freimuth@posteo.de>2025-01-11 20:11:01 +0000
committerRicardo Wurmus <rekado@elephly.net>2025-01-16 10:14:40 +0100
commit300911a88ee8db0bd546753e0c16284cb740fa8f (patch)
tree2e3f25f5f730ba395e21270918aeddf1baab2d8e /gnu/packages
parent6bdada7e53d87439a2fbbeb09ac8beb17bcb93a1 (diff)
gnu: Add python-rchitect.
* gnu/packages/statistics.scm (python-rchitect): New variable. Change-Id: I45fe6f8803f953168b275ea28e444d4ece3912ec Signed-off-by: Ricardo Wurmus <rekado@elephly.net>
Diffstat (limited to 'gnu/packages')
-rw-r--r--gnu/packages/statistics.scm31
1 files changed, 31 insertions, 0 deletions
diff --git a/gnu/packages/statistics.scm b/gnu/packages/statistics.scm
index d7556a43bc..6861cf417b 100644
--- a/gnu/packages/statistics.scm
+++ b/gnu/packages/statistics.scm
@@ -23,6 +23,7 @@
;;; Copyright © 2024 Vinicius Monego <monego@posteo.net>
;;; Copyright © 2024 Nicolas Graves <ngraves@ngraves.fr>
;;; Copyright © 2024 Sharlatan Hellseher <sharlatanus@gmail.com>
+;;; Copyright © 2025 Jonas Freimuth <jonas.freimuth@posteo.de>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -7155,6 +7156,36 @@ functions.")
;; in "setup.py".
(license (list license:mpl2.0 license:gpl2+ license:lgpl2.1+))))
+(define-public python-rchitect
+ (package
+ (name "python-rchitect")
+ (version "0.4.7")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/randy3k/rchitect")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "1ijbb0v77ir7j64r4r4kznv03wyc57rcqa9jnsc46476il79dcrk"))))
+ (build-system pyproject-build-system)
+ (propagated-inputs (list python-cffi python-packaging python-six))
+ (native-inputs (list python-pytest
+ python-pytest-cov
+ python-pytest-mock
+ python-setuptools
+ python-wheel
+ ;; R dependencies needed only for testing.
+ r-minimal
+ r-reticulate))
+ (home-page "https://github.com/randy3k/rchitect")
+ (synopsis "Mapping R API to Python")
+ (description
+ "rchitect provides access to R functionality from Python. Its
+main use is as the driver for radian, the R console.")
+ (license license:expat)))
+
(define-public java-jdistlib
(package
(name "java-jdistlib")