From 300911a88ee8db0bd546753e0c16284cb740fa8f Mon Sep 17 00:00:00 2001 From: Jonas Freimuth Date: Sat, 11 Jan 2025 20:11:01 +0000 Subject: gnu: Add python-rchitect. * gnu/packages/statistics.scm (python-rchitect): New variable. Change-Id: I45fe6f8803f953168b275ea28e444d4ece3912ec Signed-off-by: Ricardo Wurmus --- gnu/packages/statistics.scm | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) 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 ;;; Copyright © 2024 Nicolas Graves ;;; Copyright © 2024 Sharlatan Hellseher +;;; Copyright © 2025 Jonas Freimuth ;;; ;;; 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") -- cgit v1.2.3