guix_mirror_bot pushed a commit to branch master
in repository guix.
commit 090b085de1ad98da1091c798bf51c0c1db5291a2
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 23702f6f42..58007f0cf3 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")