aboutsummaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorSharlatan Hellseher <sharlatanus@gmail.com>2024-01-14 23:00:47 +0000
committerSharlatan Hellseher <sharlatanus@gmail.com>2024-01-24 22:24:38 +0000
commit4d00cf5d7843fa112c0fd9cf309c07d93e4427e1 (patch)
tree42145822b3207ae84bcd36c8a622042af0809438 /gnu
parenta75c4114f8b01bfe79c85df86b8a0bcbfe6a9677 (diff)
downloadguix-4d00cf5d7843fa112c0fd9cf309c07d93e4427e1.tar.gz
guix-4d00cf5d7843fa112c0fd9cf309c07d93e4427e1.zip
gnu: Add python-dust-extinction.
* gnu/packages/astronomy.scm (python-dust-extinction): New variable. Change-Id: I6fecfede0c347d032555b8f81bcf4f7072fc1129
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/astronomy.scm22
1 files changed, 22 insertions, 0 deletions
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")