diff options
author | Sharlatan Hellseher <sharlatanus@gmail.com> | 2024-01-29 13:13:48 +0000 |
---|---|---|
committer | Sharlatan Hellseher <sharlatanus@gmail.com> | 2024-02-27 22:52:00 +0000 |
commit | adb9dc2a67f57e7c2570e5cb075316b3ce2a5d28 (patch) | |
tree | f62af4dab47909551945065090a469441da496f4 /gnu | |
parent | a5cf84ded9452c7704290741c18b4c9181ed0ae2 (diff) | |
download | guix-adb9dc2a67f57e7c2570e5cb075316b3ce2a5d28.tar.gz guix-adb9dc2a67f57e7c2570e5cb075316b3ce2a5d28.zip |
gnu: Add python-radiospectra.
* gnu/packages/astronomy.scm (python-radiospectra): New variable.
Change-Id: I98f488671a16ce8e937a76f00b58e70119b7760a
Diffstat (limited to 'gnu')
-rw-r--r-- | gnu/packages/astronomy.scm | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/gnu/packages/astronomy.scm b/gnu/packages/astronomy.scm index f6b58a5a87..03d43e5a06 100644 --- a/gnu/packages/astronomy.scm +++ b/gnu/packages/astronomy.scm @@ -4600,6 +4600,43 @@ channels @end itemize") (license license:bsd-3))) +(define-public python-radiospectra + (package + (name "python-radiospectra") + (version "0.4.0") + (source + (origin + (method url-fetch) + (uri (pypi-uri "radiospectra" version)) + (sha256 + (base32 "0gq61ywk7li0gxwmp4hp2hc4zbrlqgn8zy0sz24qh55kn5l5gxjr")))) + (build-system pyproject-build-system) + (arguments + (list + #:phases + #~(modify-phases %standard-phases + (add-before 'check 'set-home-env + (lambda _ + ;; Tests require HOME to be set. + ;; Permission denied: '/homeless-shelter' + (setenv "HOME" "/tmp")))))) + (propagated-inputs + (list python-cdflib + python-matplotlib + python-numpy + python-scipy + python-sunpy)) + (native-inputs + (list python-pytest-astropy + python-setuptools-scm + python-sunpy-soar)) + (home-page "https://docs.sunpy.org/projects/radiospectra") + (synopsis "Support for radio spectra on solar physics") + (description + "@code{radiospectra} provides support for some type of radio spectra in +solar physics.") + (license license:bsd-2))) + (define-public python-roman-datamodels (package (name "python-roman-datamodels") |