guix_mirror_bot pushed a commit to branch astro-update
in repository guix.
commit 91684b0171bfddc041d500122a22f3efb2c61cfa
Author: Sharlatan Hellseher <[email protected]>
AuthorDate: Wed Jan 14 13:36:58 2026 +0000
gnu: Add python-hdecompose.
* gnu/packages/astronomy.scm (python-hdecompose): New variable.
Change-Id: Ib2dff022bc01a5b53c8f31568310bc5dac0517f2
---
gnu/packages/astronomy.scm | 27 +++++++++++++++++++++++++++
1 file changed, 27 insertions(+)
diff --git a/gnu/packages/astronomy.scm b/gnu/packages/astronomy.scm
index a3ae5ab6a3..5915a9c9bf 100644
--- a/gnu/packages/astronomy.scm
+++ b/gnu/packages/astronomy.scm
@@ -5487,6 +5487,33 @@ sensitivity or energy density
@end itemize")
(license license:expat)))
+(define-public python-hdecompose
+ (package
+ (name "python-hdecompose")
+ (version "0.1.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (pypi-uri "hdecompose" version))
+ (sha256
+ (base32 "0bjvzighrywcys31aypjbyyc9xmzwws7fl0lp6aywcm9akgb9578"))))
+ (build-system pyproject-build-system)
+ (arguments
+ (list #:tests? #f)) ;no tests
+ (native-inputs
+ (list python-setuptools))
+ (propagated-inputs
+ (list python-astropy
+ python-numpy))
+ (home-page "https://github.com/kyleaoman/Hdecompose")
+ (synopsis "Decomposition of hydrogen into neutral/ionized and
atomic/molecular")
+ (description
+ "This package implements functionality for decomposition of Hydrogen
+content of simulation particles into neutral/ionized and atomic/molecular.
+Implementations of @url{https://iopscience.iop.org/article/10.1086/505417,
+Blitz & Rosolowsky (2006) and Rahmati et al (2013)}.")
+ (license license:gpl3)))
+
(define-public python-healpy
(package
(name "python-healpy")