guix_mirror_bot pushed a commit to branch master
in repository guix.
commit 8117323358e7795e87b4434f51b96f03a28299bd
Author: Sharlatan Hellseher <[email protected]>
AuthorDate: Thu Nov 5 12:31:10 2026 +0000
gnu: Add python-falcon-minimal.
* gnu/packages/python-web.scm (python-falcon-minimal): New variable.
---
gnu/packages/python-web.scm | 15 +++++++++++++++
1 file changed, 15 insertions(+)
diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm
index ee6da39c94c..ae36f7426da 100644
--- a/gnu/packages/python-web.scm
+++ b/gnu/packages/python-web.scm
@@ -6295,6 +6295,21 @@ incoming requests, enabling the ability to serve
resources over a different
origin than that of the web application.")
(license license:asl2.0)))
+;; 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 and
+;; propagated-inputs.
+(define-public python-falcon-minimal
+ (package/inherit python-falcon
+ (name "python-falcon-minimal")
+ (arguments
+ (substitute-keyword-arguments arguments
+ ((#:tests? _ #t) #f)))
+ (native-inputs
+ (list python-cython
+ python-setuptools))
+ (propagated-inputs
+ (list python-mimeparse))))
+
(define-public python-furl
(package
(name "python-furl")