guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

11/19: gnu: Add python-dust-extinction.


From: guix-commits
Subject: 11/19: gnu: Add python-dust-extinction.
Date: Wed, 24 Jan 2024 17:28:03 -0500 (EST)

sharlatan pushed a commit to branch master
in repository guix.

commit 4d00cf5d7843fa112c0fd9cf309c07d93e4427e1
Author: Sharlatan Hellseher <sharlatanus@gmail.com>
AuthorDate: Sun Jan 14 23:00:47 2024 +0000

    gnu: Add python-dust-extinction.
    
    * gnu/packages/astronomy.scm (python-dust-extinction): New variable.
    
    Change-Id: I6fecfede0c347d032555b8f81bcf4f7072fc1129
---
 gnu/packages/astronomy.scm | 22 ++++++++++++++++++++++
 1 file changed, 22 insertions(+)

diff --git a/gnu/packages/astronomy.scm b/gnu/packages/astronomy.scm
index 1a11aac534..c5e7da59f9 100644
--- a/gnu/packages/astronomy.scm
+++ b/gnu/packages/astronomy.scm
@@ -2006,6 +2006,28 @@ mapping by using a Python callback.  Switching to using 
an array allowed the
 code to be greatly simplified.")
     (license license:bsd-3)))
 
+(define-public python-dust-extinction
+  (package
+    (name "python-dust-extinction")
+    (version "1.3")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (pypi-uri "dust_extinction" version))
+       (sha256
+        (base32 "14zy6kyrfi4ash7qg1k3im1zzgr2r7rnaggzk0ar3jlfmsii743k"))))
+    (build-system pyproject-build-system)
+    (propagated-inputs
+     (list python-astropy python-scipy))
+    (native-inputs
+     (list python-pytest-astropy))
+    (home-page "http://dust-extinction.readthedocs.io/";)
+    (synopsis "Interstellar Dust Extinction Models")
+    (description
+     "This package provides astronomical interstellar dust extinction curves
+implemented using the astropy.modeling framework.")
+    (license license:bsd-3)))
+
 (define-public python-ephem
   (package
     (name "python-ephem")



reply via email to

[Prev in Thread] Current Thread [Next in Thread]