[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
06/26: gnu: Add python-pysynphot.
From: |
guix-commits |
Subject: |
06/26: gnu: Add python-pysynphot. |
Date: |
Wed, 14 Jun 2023 07:58:52 -0400 (EDT) |
efraim pushed a commit to branch master
in repository guix.
commit b08be61a026fae900d37c158fd1b251bf21f5450
Author: Sharlatan Hellseher <sharlatanus@gmail.com>
AuthorDate: Tue May 30 20:58:31 2023 +0100
gnu: Add python-pysynphot.
* gnp/packages/astronomy.scm (python-pysynphot): New variable.
Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
---
gnu/packages/astronomy.scm | 32 ++++++++++++++++++++++++++++++++
1 file changed, 32 insertions(+)
diff --git a/gnu/packages/astronomy.scm b/gnu/packages/astronomy.scm
index 1371b24667..25b6d6a07e 100644
--- a/gnu/packages/astronomy.scm
+++ b/gnu/packages/astronomy.scm
@@ -2687,6 +2687,38 @@ astrophysical simulations supporting PKDGRAV/Gasoline,
Gadget, Gadget4/Arepo,
N-Chilada and RAMSES AMR outputs.")
(license license:gpl3+)))
+(define-public python-pysynphot
+ (package
+ (name "python-pysynphot")
+ (version "2.0.0")
+ (source (origin
+ (method url-fetch)
+ (uri (pypi-uri "pysynphot" version))
+ (sha256
+ (base32
+ "1rr29m63bnj47f6gvbvg3pm1296x14ad29c6qd0sdj4f4ilrzhj5"))))
+ (build-system pyproject-build-system)
+ (arguments
+ (list #:phases #~(modify-phases %standard-phases
+ (add-before 'check 'set-env-data-path
+ (lambda _
+ (setenv "PYSYN_CDBS"
+ (string-append #$output "/crds")))))))
+ (native-inputs (list python-pytest python-pytest-remotedata
+ python-setuptools-scm))
+ (propagated-inputs (list python-astropy python-beautifulsoup4 python-numpy
+ python-pytest-astropy-header python-six))
+ (home-page "https://github.com/spacetelescope/pysynphot")
+ (synopsis "Python Synthetic Photometry Utilities")
+ (description
+ "Astrolib PySynphot (hereafter referred to only as pysynphot) is an
+object-oriented replacement for STSDAS SYNPHOT synthetic photometry package in
+IRAF. @code{pysynphot} simulates photometric data and spectra as they are
+observed with the Hubble Space Telescope (HST). Passbands for standard
+photometric systems are available, and users can incorporate their own filters,
+spectra, and data.")
+ (license license:bsd-3)))
+
(define-public python-sep
(package
(inherit libsep)
- branch master updated (59e27b23ed -> 9edf093e58), guix-commits, 2023/06/14
- 03/26: gnu: image: Add support for unformatted partitions., guix-commits, 2023/06/14
- 02/26: gnu: bootloader: Add u-boot-sifive-unmatched-bootloader., guix-commits, 2023/06/14
- 06/26: gnu: Add python-pysynphot.,
guix-commits <=
- 04/26: system: images: Add unmatched module., guix-commits, 2023/06/14
- 09/26: gnu: Add python-stsci-image., guix-commits, 2023/06/14
- 05/26: gnu: glibc-2.33: Fix building for riscv64-linux., guix-commits, 2023/06/14
- 10/26: gnu: Add python-stsci-imagestats., guix-commits, 2023/06/14
- 12/26: gnu: Add python-tweakwcs., guix-commits, 2023/06/14
- 15/26: gnu: Add python-parsley., guix-commits, 2023/06/14
- 16/26: gnu: Add python-crds., guix-commits, 2023/06/14
- 22/26: gnu: Add python-stcal., guix-commits, 2023/06/14
- 01/26: gnu: opencv: Fix building on riscv64-linux., guix-commits, 2023/06/14
- 07/26: gnu: Add python-rad., guix-commits, 2023/06/14