all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Sharlatan Hellseher <sharlatanus@gmail.com>
To: 59542@debbugs.gnu.org
Cc: Sharlatan Hellseher <sharlatanus@gmail.com>
Subject: [bug#59542] [PATCH 1/5] gnu: Add python-drms.
Date: Thu, 24 Nov 2022 11:24:37 +0000	[thread overview]
Message-ID: <20221124112441.22965-1-sharlatanus@gmail.com> (raw)
In-Reply-To: <20221124112329.22862-1-sharlatanus@gmail.com>

* gnu/packages/astronomy.scm (python-drms): New variable.
---
 gnu/packages/astronomy.scm | 37 +++++++++++++++++++++++++++++++++++++
 1 file changed, 37 insertions(+)

diff --git a/gnu/packages/astronomy.scm b/gnu/packages/astronomy.scm
index d450d1dd94..4ae2e1caa2 100644
--- a/gnu/packages/astronomy.scm
+++ b/gnu/packages/astronomy.scm
@@ -1142,6 +1142,43 @@ (define-public python-cdflib
 @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")
-- 
2.38.0





  reply	other threads:[~2022-11-24 11:25 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-11-24 11:23 [bug#59542] [PATCH 0/5] gnu: Add python-sunpy Sharlatan Hellseher
2022-11-24 11:24 ` Sharlatan Hellseher [this message]
2022-11-24 11:24   ` [bug#59542] [PATCH 2/5] gnu: Add python-mpl-animators Sharlatan Hellseher
2022-11-24 11:24   ` [bug#59542] [PATCH 3/5] gnu: Add python-hvpy Sharlatan Hellseher
2022-11-24 11:24   ` [bug#59542] [PATCH 4/5] gnu: Add python-reproject Sharlatan Hellseher
2022-11-24 11:24   ` [bug#59542] [PATCH 5/5] gnu: Add python-sunpy Sharlatan Hellseher
2022-11-25 10:56 ` [bug#59542] [PATCH 0/5] " Christopher Baines

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20221124112441.22965-1-sharlatanus@gmail.com \
    --to=sharlatanus@gmail.com \
    --cc=59542@debbugs.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.