From f7f78d12d86d987d18804eb59ba61c5e04f1dc5a Mon Sep 17 00:00:00 2001 From: Hugo Buddelmeijer Date: Thu, 21 Aug 2025 15:45:52 +0200 Subject: [PATCH] gnu: Add python-pyesorex. * gnu/packages/astronomy.scm (python-pyesorex): New variable. Change-Id: I9da8fe817fb11faab7718cfbd718622e75ef0db1 Signed-off-by: Sharlatan Hellseher --- gnu/packages/astronomy.scm | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) diff --git a/gnu/packages/astronomy.scm b/gnu/packages/astronomy.scm index 16c7007f3a74f19d3814b01161feabdec4043987..0e6f795d0a15a851314f32ab6bb9c45af15ec8a3 100644 --- a/gnu/packages/astronomy.scm +++ b/gnu/packages/astronomy.scm @@ -5895,6 +5895,38 @@ Astronomical Union (IAU). All C routines are wrapped as Numpy universal functions, so that they can be called with scalar or array inputs.") (license license:bsd-3))) +(define-public python-pyesorex + (package + (name "python-pyesorex") + (version "1.0.3") + (source + (origin + (method url-fetch) + (uri (string-append + "https://ftp.eso.org/pub/dfs/pipelines/libraries/pyesorex/pyesorex-" + version ".tar.gz")) + (sha256 + (base32 "1ynb9q9aj51mdva1b76fkz7mlw5q8nlfs8f5f70bhila8iincjca")))) + (build-system pyproject-build-system) + (native-inputs + (list python-pytest + python-setuptools-next)) + (propagated-inputs + (list python-pycpl)) + (native-search-paths + (list (search-path-specification + (variable "PYESOREX_PLUGIN_DIR") + (files '("lib/esopipes-plugins"))))) + (home-page "https://www.eso.org/sci/software/pycpl/pycpl-site/") + (synopsis "Alternative Python CLI for ESO's Rex") + (description + "PyEsoRex is a command line tool which can serve as a drop-in replacement +of EsoRex, which can execute both, existing pipeline recipes implemented using +the @acronym{Common Pipeline Library, CPL} C API, and recipes implemented +using the PyCPL Python API.") + (properties '((upstream-name . "pyesorex"))) + (license license:bsd-3))) + (define-public python-pyhalo (package (name "python-pyhalo")