gnu: Add python-rchitect.

* gnu/packages/statistics.scm (python-rchitect): New variable.

Change-Id: I45fe6f8803f953168b275ea28e444d4ece3912ec
Signed-off-by: Ricardo Wurmus <rekado@elephly.net>
This commit is contained in:
Jonas Freimuth 2025-01-11 20:11:01 +00:00 committed by Ricardo Wurmus
parent 6bdada7e53
commit 300911a88e
No known key found for this signature in database
GPG key ID: 197A5888235FACAC

View file

@ -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 @@ (define-public python-rpy2
;; 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")