diff options
| author | Sharlatan Hellseher <sharlatanus@gmail.com> | 2026-04-14 14:36:45 +0100 |
|---|---|---|
| committer | Sharlatan Hellseher <sharlatanus@gmail.com> | 2026-04-30 13:20:52 +0100 |
| commit | 888d47f8ee37540070ff8c955a005bd3b437c6d9 (patch) | |
| tree | 84a942628d5bf2673dcfa8fb9403cbd103506ccc | |
| parent | d44cb4b46395cab033f2442bc82f55b8efae26a1 (diff) | |
gnu: Add python-lephare.
* gnu/packages/astronomy.scm (python-lephare): New variable.
Change-Id: I1286618f925c2c5e861d1d581d64178afff8e004
| -rw-r--r-- | gnu/packages/astronomy.scm | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/gnu/packages/astronomy.scm b/gnu/packages/astronomy.scm index a1d737ba92..1ad65a407f 100644 --- a/gnu/packages/astronomy.scm +++ b/gnu/packages/astronomy.scm @@ -6656,6 +6656,47 @@ quantification of galaxies, quasar-host galaxy decomposition and much more.") (native-inputs (list python-setuptools)))) +(define-public python-lephare + (package + (name "python-lephare") + (version "0.3.1") + (source + (origin + (method url-fetch) + (uri (pypi-uri "lephare" version)) + (sha256 + (base32 "1nkd807kl2xg25iwb5wj380pxlvrd9abdaznaw5if3qjmjkjx86s")))) + (build-system pyproject-build-system) + (arguments + (list + #:test-flags + ;; Network access is required to reach <http://svo2.cab.inta-csic.es>. + #~(list "--deselect=tests/lephare/test_data_retrieval.py::test_get_auxiliary_data" + "--deselect=tests/lephare/test_filter.py::test_filtersvc") + #:phases + '(modify-phases %standard-phases + (add-before 'sanity-check 'set-HOME + (lambda _ (setenv "HOME" "/tmp")))))) + (native-inputs + (list cmake-minimal + python-pytest + python-setuptools)) + (propagated-inputs + (list python-astropy + python-matplotlib + python-numpy + python-platformdirs + python-pooch + python-requests + python-scipy + python-wurlitzer)) + (home-page "https://lephare.readthedocs.io/en/latest/") + (synopsis "Photometric redshift estimator") + (description + "LePHARE is a code for estimating galaxy redshifts and physical parameters +using template fitting.") + (license license:expat))) + (define-public python-libstempo (package (name "python-libstempo") |
