diff options
| author | Sharlatan Hellseher <sharlatanus@gmail.com> | 2026-03-15 22:05:12 +0000 |
|---|---|---|
| committer | Sharlatan Hellseher <sharlatanus@gmail.com> | 2026-03-31 21:50:53 +0100 |
| commit | cf342e2cd28fa0002ed302bac90bb8864dc9fa19 (patch) | |
| tree | 30e2deb116bdd24819c6dd5bf8b48c31798039af | |
| parent | 00ff0cf9f8dd2daa063690ab43592606366dfd7f (diff) | |
gnu: Add python-astronify.
* gnu/packages/astronomy.scm (python-astronify): New variable.
Change-Id: Ieebe6a187ea9d1edfdb0bc4f46e7964ffc5d76d3
| -rw-r--r-- | gnu/packages/astronomy.scm | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/gnu/packages/astronomy.scm b/gnu/packages/astronomy.scm index 13eced19fa0..b67f1dac054 100644 --- a/gnu/packages/astronomy.scm +++ b/gnu/packages/astronomy.scm @@ -53,6 +53,7 @@ #:use-module (guix utils) #:use-module (gnu packages) #:use-module (gnu packages algebra) + #:use-module (gnu packages audio) #:use-module (gnu packages autotools) #:use-module (gnu packages base) #:use-module (gnu packages bash) @@ -2953,6 +2954,45 @@ of functions to execute the desired steps in the mock-observing process.") mining in astronomy.") (license license:bsd-2))) +(define-public python-astronify + (package + (name "python-astronify") + (version "0.11") + (source + (origin + (method url-fetch) + (uri (pypi-uri "astronify" version)) + (sha256 + (base32 "1nl8rbpg6b9v3mny90spv7g9aqx2lfnnrmxv0nm3d458mgikgagc")))) + (build-system pyproject-build-system) + (arguments + (list + #:phases + #~(modify-phases %standard-phases + ;; TODO: Report upstream: ModuleNotFoundError: No module named + ;; 'packagename'. + (add-after 'unpack 'fix-setup.cfg + (lambda _ + (substitute* "setup.cfg" + (("astropy-package-template-example.*") ""))))))) + (native-inputs + (list python-pytest-astropy + python-setuptools + python-setuptools-scm)) + (propagated-inputs + (list python-astropy + python-matplotlib + python-notebook + python-pyo + python-requests + python-scipy)) + (home-page "https://github.com/spacetelescope/astronify") + (synopsis "Sonification of astronomical data") + (description + "Astronify is a Python package for sonifying astronomical data - turning +telescope observations into sound.") + (license license:bsd-3))) + (define-public python-astroplan (package (name "python-astroplan") |
