guix_mirror_bot pushed a commit to branch astro-updates
in repository guix.

commit 17d3b7b12da9bccc80067908330adf26b18a41b2
Author: Sharlatan Hellseher <[email protected]>
AuthorDate: Wed Oct 15 21:36:37 2025 +0100

    gnu: Add python-ndcube-minimal.
    
    * gnu/packages/astronomy.scm (python-ndcube-minimal): New variable.
    
    Change-Id: I53f024952288b72572abf6cfe3c1514b092ecce8
---
 gnu/packages/astronomy.scm | 11 +++++++++++
 1 file changed, 11 insertions(+)

diff --git a/gnu/packages/astronomy.scm b/gnu/packages/astronomy.scm
index ab003b3335..eb5018f647 100644
--- a/gnu/packages/astronomy.scm
+++ b/gnu/packages/astronomy.scm
@@ -5880,6 +5880,17 @@ world can be described by @acronym{WCS, World Coordinate 
System}
 translations.")
     (license license:bsd-2)))
 
+;; 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-ndcube-minimal
+  (package/inherit python-ndcube
+    (name "python-ndcube-minimal")
+    (arguments
+     (list #:tests? #f))
+    (native-inputs
+     (list python-setuptools
+           python-setuptools-scm))))
+
 (define-public python-petrofit
   (package
     (name "python-petrofit")

Reply via email to