From 090b085de1ad98da1091c798bf51c0c1db5291a2 Mon Sep 17 00:00:00 2001 From: Sharlatan Hellseher Date: Fri, 14 Nov 2025 13:25:44 +0000 Subject: [PATCH] gnu: Add python-lenstronomy-minimal. * gnu/packages/astronomy.scm (python-lenstronomy-minimal): New variable. Change-Id: I708d43df351d29602c383ddf341aeb7024cfa8dc --- gnu/packages/astronomy.scm | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/gnu/packages/astronomy.scm b/gnu/packages/astronomy.scm index 23702f6f422489d32a8c698665fdfb6e0199fdb2..58007f0cf36f832d4657ff002d386eac67ca8144 100644 --- a/gnu/packages/astronomy.scm +++ b/gnu/packages/astronomy.scm @@ -5705,6 +5705,16 @@ lensing substructure to infer dark matter properties, morphological quantification of galaxies, quasar-host galaxy decomposition and much more.") (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-lenstronomy-minimal + (package/inherit python-lenstronomy + (name "python-lenstronomy-minimal") + (arguments + (list #:tests? #f)) + (native-inputs + (list python-setuptools)))) + (define-public python-libstempo (package (name "python-libstempo")