guix_mirror_bot pushed a commit to branch master
in repository guix.
commit e033bf01e638eaf94b92f55b4a8616d79009b17f
Author: Hugo Buddelmeijer <[email protected]>
AuthorDate: Sat Dec 20 21:39:25 2025 +0100
gnu: Add python-celery-minimal.
* gnu/packages/python-xyz.scm (python-celery-minimal): New variable.
Change-Id: Ib6c71748d52cdfee06c894e74bb067e8522fc6e4
Modified-by: Sharlatan Hellseher <[email protected]>
Signed-off-by: Sharlatan Hellseher <[email protected]>
---
gnu/packages/python-xyz.scm | 10 ++++++++++
1 file changed, 10 insertions(+)
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index a9909a42bb..b656e669c5 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -20614,6 +20614,16 @@ Eventlet, or gevent. Tasks can execute asynchronously
(in the background) or
synchronously (wait until ready).")
(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-celery-minimal
+ (package/inherit python-celery
+ (name "python-celery-minimal")
+ (arguments
+ (list #:tests? #f))
+ (native-inputs
+ (list python-setuptools))))
+
(define-public python-anyqt
(package
(name "python-anyqt")