[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
17/26: gnu: Add python-stdatamodels.
From: |
guix-commits |
Subject: |
17/26: gnu: Add python-stdatamodels. |
Date: |
Wed, 14 Jun 2023 07:58:54 -0400 (EDT) |
efraim pushed a commit to branch master
in repository guix.
commit 2ff1c352d4032a588f4b0d8ebe0eb3e946fbc3e1
Author: Sharlatan Hellseher <sharlatanus@gmail.com>
AuthorDate: Tue May 30 20:58:42 2023 +0100
gnu: Add python-stdatamodels.
* gnu/packages/astronomy.scm (python-stdatamodels): New variable.
Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
---
gnu/packages/astronomy.scm | 42 ++++++++++++++++++++++++++++++++++++++++++
1 file changed, 42 insertions(+)
diff --git a/gnu/packages/astronomy.scm b/gnu/packages/astronomy.scm
index 8f3471daab..ac4b6eea96 100644
--- a/gnu/packages/astronomy.scm
+++ b/gnu/packages/astronomy.scm
@@ -2174,6 +2174,48 @@ task}.")
image processing functions: @code{xyxymatch}, @code{geomap}.")
(license license:bsd-3)))
+(define-public python-stdatamodels
+ (package
+ (name "python-stdatamodels")
+ (version "1.5.0")
+ (source (origin
+ (method url-fetch)
+ (uri (pypi-uri "stdatamodels" version))
+ (sha256
+ (base32
+ "1lssz5mnkzgraqa9mdg1w39scsikymcp3zpmsjb146r0pqnwnpzw"))))
+ (build-system pyproject-build-system)
+ (arguments
+ (list
+ ;; Disable tests requiring access to CRDS servers to download ~500MiB
+ ;; of data.
+ #:test-flags #~(list "-k" "not test_crds_selectors_vs_datamodel")
+ #:phases #~(modify-phases %standard-phases
+ (add-before 'check 'set-home
+ (lambda _
+ (setenv "HOME" "/tmp"))))))
+ (propagated-inputs (list python-asdf
+ python-asdf-astropy
+ python-astropy
+ python-jsonschema
+ python-numpy
+ python-psutil))
+ (native-inputs (list python-crds
+ python-pytest
+ python-pytest-doctestplus
+ python-pytest-openfiles
+ python-scipy
+ python-semantic-version
+ python-setuptools-scm))
+ (home-page "https://github.com/spacetelescope/stdatamodels")
+ (synopsis
+ "Core support for DataModel classes used in calibration pipelines")
+ (description
+ "Provides DataModel, which is the base class for data models implemented
in
+the @acronym{JWST, James Webb Space Telescope} and @acronym{Roman, Nancy Grace
+Roman Space Telescope} calibration software.")
+ (license license:bsd-3)))
+
(define-public python-stsynphot
(package
(name "python-stsynphot")
- 22/26: gnu: Add python-stcal., (continued)
- 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
- 08/26: gnu: Add python-roman-datamodels., guix-commits, 2023/06/14
- 11/26: gnu: Add python-stsci-stimage., guix-commits, 2023/06/14
- 13/26: gnu: Add python-synphot., guix-commits, 2023/06/14
- 19/26: gnu: Add python-bayesicfitting., guix-commits, 2023/06/14
- 23/26: gnu: Add python-jwst., guix-commits, 2023/06/14
- 26/26: gnu: python-blosc: Enable tests., guix-commits, 2023/06/14
- 14/26: gnu: Add python-stsynphot., guix-commits, 2023/06/14
- 17/26: gnu: Add python-stdatamodels.,
guix-commits <=
- 18/26: gnu: Add python-stpipe., guix-commits, 2023/06/14
- 20/26: gnu: Add python-wiimatch., guix-commits, 2023/06/14
- 21/26: gnu: Add python-drizzle., guix-commits, 2023/06/14
- 25/26: gnu: python-blosc: Update to 1.11.1., guix-commits, 2023/06/14
- 24/26: gnu: python-blosc: Build with packaged blosc., guix-commits, 2023/06/14