GNU bug report logs - #74497
[PATCH 00/46] Astro update 2024/11.

Previous Next

Package: guix-patches;

Reported by: Sharlatan Hellseher <sharlatanus <at> gmail.com>

Date: Sat, 23 Nov 2024 19:49:02 UTC

Severity: normal

Tags: patch

Done: Sharlatan Hellseher <sharlatanus <at> gmail.com>

Bug is archived. No further changes may be made.

Full log


Message #17 received at 74497 <at> debbugs.gnu.org (full text, mbox):

From: Sharlatan Hellseher <sharlatanus <at> gmail.com>
To: 74497 <at> debbugs.gnu.org
Cc: Sharlatan Hellseher <sharlatanus <at> gmail.com>
Subject: [PATCH 06/46] gnu: Add python-cosmopy.
Date: Sat, 23 Nov 2024 19:50:53 +0000
* gnu/packages/astronomy.scm (python-cosmopy): New variable.

Change-Id: I31e54ff51a2f18091baba449da3b00cdf5088b15
---
 gnu/packages/astronomy.scm | 28 ++++++++++++++++++++++++++++
 1 file changed, 28 insertions(+)

diff --git a/gnu/packages/astronomy.scm b/gnu/packages/astronomy.scm
index cac446a6a3..c85c00f8e2 100644
--- a/gnu/packages/astronomy.scm
+++ b/gnu/packages/astronomy.scm
@@ -2013,6 +2013,34 @@ (define-public python-coolest
 lens models possibly obtained from different modeling codes.")
     (license  license:gpl3)))
 
+(define-public python-cosmopy
+  (package
+    (name "python-cosmopy")
+    (version "3.6")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (pypi-uri "cosmopy" version))
+       (sha256
+        (base32 "16xlg0vyzdx1h5h28y8az48nhiqvx43yd9s30g3rk9ywl4r1j6h8"))))
+    (build-system pyproject-build-system)
+    (native-inputs
+     (list python-pytest
+           python-setuptools
+           python-wheel))
+    (propagated-inputs
+     (list python-astropy
+           python-click
+           python-future
+           python-numpy
+           python-scipy))
+    (home-page "https://github.com/lzkelley/cosmopy")
+    (synopsis "Cosmological calculator in Python")
+    (description
+     "This package provides a CLI and Python module to quickly calculate
+cosmological parameters e.g. redshift or luminosity-distance.")
+    (license license:expat)))
+
 (define-public python-czml3
   (package
     (name "python-czml3")
-- 
2.46.0





This bug report was last modified 174 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.