From 6e436fe390a841b14e5533197a33c6ca131c8c81 Mon Sep 17 00:00:00 2001 From: Sharlatan Hellseher Date: Tue, 17 Jun 2025 13:48:43 +0100 Subject: [PATCH] gnu: Add python-costools. * gnu/packages/astronomy.scm (python-costools): New variable. Change-Id: Ieba309d08cac83c0515fb07507a9d8ee5dbcd81b --- gnu/packages/astronomy.scm | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) diff --git a/gnu/packages/astronomy.scm b/gnu/packages/astronomy.scm index d74e58680c710f1c215b5193a2dfd8a6e3dbf264..37379978cc14920536d1920139c7cce7af9dff14 100644 --- a/gnu/packages/astronomy.scm +++ b/gnu/packages/astronomy.scm @@ -3146,6 +3146,35 @@ lens models possibly obtained from different modeling codes.") cosmological parameters e.g. redshift or luminosity-distance.") (license license:expat))) +(define-public python-costools + (package + (name "python-costools") + (version "1.2.6") + (source + (origin + (method url-fetch) + (uri (pypi-uri "costools" version)) + (sha256 + (base32 "0w0hgm847qsq5q30j5nshxwf7bdj503h6r1y3b6hvlf55gzlscnd")))) + (build-system pyproject-build-system) + (native-inputs + (list python-pytest + python-pytest-cov + python-setuptools + python-setuptools-scm + python-wheel)) + (propagated-inputs + (list python-astropy + python-calcos + python-numpy + python-stsci-tools)) + (home-page "https://github.com/spacetelescope/costools") + (synopsis "Tools for Cosmic Origins Spectrograph") + (description + "This package provides tools for @acronym{COS, Cosmic Origins +Spectrograph}.") + (license license:bsd-3))) + (define-public python-crds (package (name "python-crds")