aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages
diff options
context:
space:
mode:
authorDanny Milosavljevic <dannym@friendly-machines.com>2024-12-12 00:03:24 +0100
committerDanny Milosavljevic <dannym@friendly-machines.com>2024-12-12 00:03:24 +0100
commitf168af92f771ff1c084441a99ba219a91599de4d (patch)
treea507281252f525632978ac3cb9ab9a233cb54397 /gnu/packages
parent06dfdaf80e1edd185b48e3355d97757f5f309533 (diff)
downloadguix-f168af92f771ff1c084441a99ba219a91599de4d.tar.gz
guix-f168af92f771ff1c084441a99ba219a91599de4d.zip
gnu: Add python-mathicsscript.
* gnu/packages/maths.scm (python-mathicsscript): New variable. Change-Id: Id98fe33f3e6fdef5fcdc2ea58b2f71f396b9ea23
Diffstat (limited to 'gnu/packages')
-rw-r--r--gnu/packages/maths.scm34
1 files changed, 34 insertions, 0 deletions
diff --git a/gnu/packages/maths.scm b/gnu/packages/maths.scm
index ba03bf3209..810af1b18d 100644
--- a/gnu/packages/maths.scm
+++ b/gnu/packages/maths.scm
@@ -10575,3 +10575,37 @@ the Wolfram language.")
to Wolfram.")
(home-page "https://mathics.org/")
(license license:gpl3+)))
+
+(define-public python-mathicsscript
+ (package
+ (name "python-mathicsscript")
+ (version "7.0.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (pypi-uri "mathicsscript" version))
+ (sha256
+ (base32 "15ppg8sj03j63664npdqiv1lfk2mqnrqjb5817zjyy04z9s0kp7l"))))
+ (build-system pyproject-build-system)
+ (arguments
+ `(#:phases
+ (modify-phases %standard-phases
+ (add-before 'check 'setenv
+ (lambda _
+ (setenv "HOME" "/tmp"))))))
+ (propagated-inputs (list python-click
+ python-colorama
+ python-columnize
+ python-mathics-pygments
+ python-mathics-scanner
+ python-mathics-core
+ python-networkx
+ python-prompt-toolkit
+ python-pygments
+ python-term-background))
+ (native-inputs (list python-pytest))
+ (home-page "https://mathics.org/")
+ (synopsis "Command-line interface to Mathics3")
+ (description "This package provides a command-line interface to
+Mathics3.")
+ (license license:gpl3)))