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

commit 90442cf3cffe01cff30a5d21d28b90cd2346cbb6
Author: Sharlatan Hellseher <[email protected]>
AuthorDate: Fri Nov 14 13:25:44 2025 +0000

    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 f7de6b13f7..0ecc5980fa 100644
--- a/gnu/packages/astronomy.scm
+++ b/gnu/packages/astronomy.scm
@@ -5876,6 +5876,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")

Reply via email to