[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
03/07: gnu: Add python-drms.
From: |
guix-commits |
Subject: |
03/07: gnu: Add python-drms. |
Date: |
Fri, 25 Nov 2022 05:52:25 -0500 (EST) |
cbaines pushed a commit to branch master
in repository guix.
commit 3271fa1f402e497ff1de9cc2dbc2b09e1a32078f
Author: Sharlatan Hellseher <sharlatanus@gmail.com>
AuthorDate: Thu Nov 24 11:24:37 2022 +0000
gnu: Add python-drms.
* gnu/packages/astronomy.scm (python-drms): New variable.
Signed-off-by: Christopher Baines <mail@cbaines.net>
---
gnu/packages/astronomy.scm | 37 +++++++++++++++++++++++++++++++++++++
1 file changed, 37 insertions(+)
diff --git a/gnu/packages/astronomy.scm b/gnu/packages/astronomy.scm
index d450d1dd94..fb45a83b34 100644
--- a/gnu/packages/astronomy.scm
+++ b/gnu/packages/astronomy.scm
@@ -1142,6 +1142,43 @@ attempting to maintain ISTP compliance
@end itemize")
(license license:expat)))
+(define-public python-drms
+ (package
+ (name "python-drms")
+ (version "0.6.3")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (pypi-uri "drms" version))
+ (sha256
+ (base32 "1b0w350y4wbgyy19zcf28xbb85mqq6gnhb6ppibbc4hbn2ixbcvj"))))
+ (build-system python-build-system)
+ (arguments
+ (list
+ #:phases
+ #~(modify-phases %standard-phases
+ (replace 'check
+ (lambda* (#:key inputs outputs tests?
+ #:allow-other-keys)
+ (when tests?
+ (add-installed-pythonpath inputs outputs)
+ (setenv "JSOC_EMAIL" "jsoc@sunpy.org")
+ (invoke "python" "-m" "pytest" "-vv")))))))
+ (native-inputs
+ (list python-astropy
+ python-pytest-astropy
+ python-pytest
+ python-setuptools-scm))
+ (propagated-inputs (list python-numpy python-pandas))
+ (home-page "https://sunpy.org")
+ (synopsis "Access astronomical HMI, AIA and MDI data with Python")
+ (description
+ "DRMS module provides an easy-to-use interface for accessing HMI, AIA and
+MDI data with Python. It uses the publicly accessible
+JSOC (@url{http://jsoc.stanford.edu/}) DRMS server by default, but can also be
+used with local NetDRMS sites.")
+ (license license:bsd-2)))
+
(define-public python-ephem
(package
(name "python-ephem")
- branch master updated (b095dac8e0 -> 78ee6dcfe1), guix-commits, 2022/11/25
- 02/07: gnu: Add portfolio., guix-commits, 2022/11/25
- 03/07: gnu: Add python-drms.,
guix-commits <=
- 04/07: gnu: Add python-mpl-animators., guix-commits, 2022/11/25
- 07/07: gnu: Add python-sunpy., guix-commits, 2022/11/25
- 06/07: gnu: Add python-reproject., guix-commits, 2022/11/25
- 05/07: gnu: Add python-hvpy., guix-commits, 2022/11/25
- 01/07: gnu: Add raider., guix-commits, 2022/11/25