guix_mirror_bot pushed a commit to branch master
in repository guix.

commit f4934f43aa4d1ff87277574c100ba9260387a092
Author: Sharlatan Hellseher <[email protected]>
AuthorDate: Fri Jul 4 11:53:23 2025 +0100

    gnu: Add python-stpreview.
    
    * gnu/packages/astronomy.scm (python-stpreview): New variable.
    
    Change-Id: Ia3e318a69dac44c988a2c42e5f9a5dcd015dc930
---
 gnu/packages/astronomy.scm | 30 ++++++++++++++++++++++++++++++
 1 file changed, 30 insertions(+)

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")

Reply via email to