guix_mirror_bot pushed a commit to branch master
in repository guix.
commit 9742e9eb64b4a1ea1bc95e11a5ba558e3b1cec22
Author: Sharlatan Hellseher <[email protected]>
AuthorDate: Fri Oct 17 16:09:48 2025 +0100
gnu: Add python-crds-minimal.
* gnu/packages/astronomy.scm (python-crds-minimal): New variable.
Change-Id: Idd79f9381af2871619cee7e0772a5f6b874dc994
---
gnu/packages/astronomy.scm | 18 ++++++++++++++++++
1 file changed, 18 insertions(+)
diff --git a/gnu/packages/astronomy.scm b/gnu/packages/astronomy.scm
index 1afc0fc307..696eae4484 100644
--- a/gnu/packages/astronomy.scm
+++ b/gnu/packages/astronomy.scm
@@ -3911,6 +3911,24 @@ has web sites corresponding to each project
@url{http://hst-crds.stsci.edu} or
files and provide related services.")
(license license:bsd-3)))
+;; A bare minimal package, mainly to use in tests and reduce closure
+;; size. Tests are left out in the main package to slim down native-inputs.
+(define-public python-crds-minimal
+ (package/inherit python-crds
+ (name "python-crds-minimal")
+ (arguments
+ (list #:tests? #f))
+ (native-inputs
+ (list python-setuptools
+ python-setuptools-scm))
+ (propagated-inputs
+ (list python-astropy
+ python-numpy
+ python-filelock
+ python-asdf
+ python-requests
+ python-parsley))))
+
(define-public python-czml3
(package
(name "python-czml3")