From 3fb89a4223cae8830c53587f75f02cbe23190fec Mon Sep 17 00:00:00 2001 From: Sharlatan Hellseher Date: Wed, 15 Oct 2025 21:36:37 +0100 Subject: [PATCH] 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 b3a9d0cfc33567b111fc796ab45cdc084545a4a5..8c094161528ee5ffbb162318d32cc0f26b3438f4 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")