diff options
| author | Sharlatan Hellseher <sharlatanus@gmail.com> | 2026-01-14 13:36:58 +0000 |
|---|---|---|
| committer | Sharlatan Hellseher <sharlatanus@gmail.com> | 2026-01-30 09:10:12 +0000 |
| commit | b426c08b8299a3a171eeebc79e1ecacdfd196408 (patch) | |
| tree | 85a5fdf5245659558a5e180ff95443d48aaa966b | |
| parent | 62e3736e476039c3affe62674f7477173b9f758b (diff) | |
gnu: Add python-halo-analysis.
* gnu/packages/astronomy.scm (python-halo-analysis): New variable.
Change-Id: I935894c576647c0979600fbc9096f90d2195c012
| -rw-r--r-- | gnu/packages/astronomy.scm | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/gnu/packages/astronomy.scm b/gnu/packages/astronomy.scm index e4b4f84d44..fd85df3378 100644 --- a/gnu/packages/astronomy.scm +++ b/gnu/packages/astronomy.scm @@ -5381,6 +5381,45 @@ default) to world coordinates.") ;; for now. (define-public python-gwcs python-gwcs-0) +(define-public python-halo-analysis + (package + (name "python-halo-analysis") + (version "1.0.4") + (source + (origin + (method url-fetch) + (uri (pypi-uri "halo_analysis" version)) + (sha256 + (base32 "072s29b73591n26r3i67wflh5sh67bjrnch6wi691v871xcpr4rl")))) + (build-system pyproject-build-system) + (arguments + (list + #:tests? #f ;no tests in PyPI or Git + #:phases + #~(modify-phases %standard-phases + (add-before 'check 'set-home + (lambda _ + ;; There is a silent error during sanity-check: mkdir -p failed + ;; for path /homeless-shelter/.config/matplotlib: [Errno 13] + ;; Permission denied: '/homeless-shelter' + (setenv "HOME" "/tmp")))))) + (native-inputs + (list python-pytest + python-setuptools)) + (propagated-inputs + (list python-h5py + python-matplotlib + python-numpy + python-scipy + python-utilities-awetzel)) + (home-page "https://bitbucket.org/awetzel/halo_analysis/src/master/" ) + (synopsis "Read and analyze halo/galaxy catalogs") + (description + "This package implements a functionality to read and analyze halo/galaxy + catalogs (generated from Rockstar or AHF) and merger trees (generated from +ConsistentTrees).") + (license license:expat))) + (define-public python-halotools (package (name "python-halotools") |
