summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSharlatan Hellseher <sharlatanus@gmail.com>2025-07-04 11:53:23 +0100
committerSharlatan Hellseher <sharlatanus@gmail.com>2025-07-31 22:13:40 +0100
commitf4934f43aa4d1ff87277574c100ba9260387a092 (patch)
treede9cf82d51a31292faad696f72ad9af6a31ed6f4
parent9c339d503ff68602609000e3b5560032089ab398 (diff)
gnu: Add python-stpreview.
* gnu/packages/astronomy.scm (python-stpreview): New variable. Change-Id: Ia3e318a69dac44c988a2c42e5f9a5dcd015dc930
-rw-r--r--gnu/packages/astronomy.scm30
1 files changed, 30 insertions, 0 deletions
diff --git a/gnu/packages/astronomy.scm b/gnu/packages/astronomy.scm
index 2e9b51183c..4d7c0734b7 100644
--- a/gnu/packages/astronomy.scm
+++ b/gnu/packages/astronomy.scm
@@ -6866,6 +6866,36 @@ implementing calibration pipeline software.")
;; LICENSE Association of Universities for Research in Astronomy (AURA)
(license license:bsd-3)))
+(define-public python-stpreview
+ (package
+ (name "python-stpreview")
+ (version "0.6.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (pypi-uri "stpreview" version))
+ (sha256
+ (base32 "1z7zpqyg7rl2sf311idzwckdshm86mkbbpknvq90gkxmqdaqas9q"))))
+ (build-system pyproject-build-system)
+ (native-inputs
+ (list python-pytest
+ python-roman-datamodels
+ python-setuptools-next
+ python-setuptools-scm
+ python-wheel))
+ (propagated-inputs
+ (list python-asdf
+ python-astropy
+ python-gwcs
+ python-matplotlib
+ python-numpy
+ python-scikit-image))
+ (home-page "https://github.com/spacetelescope/stpreview")
+ (synopsis "Build downsampled previews of STScI")
+ (description
+ "This package provides build downsampled previews of Space Telescope products.")
+ (license license:bsd-3)))
+
(define-public python-stpsf
(package
(name "python-stpsf")