From 736b5d045577447cba01bccdf8927262f3ccb278 Mon Sep 17 00:00:00 2001 From: Sharlatan Hellseher Date: Tue, 17 Jun 2025 13:45:04 +0100 Subject: [PATCH] gnu: Add python-calcos. * gnu/packages/astronomy.scm (python-calcos): New variable. Change-Id: I463300eb20e1eed81fa9ff65bb43d2e76ec8ecb5 --- gnu/packages/astronomy.scm | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) diff --git a/gnu/packages/astronomy.scm b/gnu/packages/astronomy.scm index 055b9bb1a5cf92b889af87c2962a58d0a3ec2296..d74e58680c710f1c215b5193a2dfd8a6e3dbf264 100644 --- a/gnu/packages/astronomy.scm +++ b/gnu/packages/astronomy.scm @@ -2694,6 +2694,37 @@ encompassing software system for the operations and analysis of the ESA satellit Herschel.") (license license:gpl3+))) +(define-public python-calcos + (package + (name "python-calcos") + (version "3.6.1") + (source + (origin + (method url-fetch) + (uri (pypi-uri "calcos" version)) + (sha256 + (base32 "0mfyinbbrps1ryjnqkjj7h7117clx762q7jvl7raycf1wj0g2zs0")))) + (build-system pyproject-build-system) + (native-inputs + (list python-ci-watson + python-numpy + python-pytest + python-pytest-cov + python-setuptools + python-setuptools-scm-next + python-wheel)) + (propagated-inputs + (list python-astropy + python-numpy + python-scipy + python-stsci-tools)) + (home-page "https://hst-docs.stsci.edu/cosdhb/chapter-3-cos-calibration") + (synopsis "Calibration software for Cosmic Origins Spectrograph") + (description + "This packages provides a calibration software for @acronym{COS, Cosmic +Origins Spectrograph}.") + (license license:bsd-3))) + (define-public python-camb (package (name "python-camb")