Subject: [bug#60975] [PATCH] gnu: inkscape: Fix qrcode rendering.

From: Michael Rohleder <[email-masked]>
Date: Fri, 20 Jan 2023 23:33:42 +0100

Fixes <https://issues.guix.gnu.org/57479>.

* gnu/packages/inkscape.scm (inkscape)[inputs]: Add python-cssselect.
---
 gnu/packages/inkscape.scm | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/inkscape.scm b/gnu/packages/inkscape.scm
index 2e43835e4f..d1ac5e7312 100644
--- a/gnu/packages/inkscape.scm
+++ b/gnu/packages/inkscape.scm
@@ -46,6 +46,7 @@ (define-module (gnu packages inkscape)
   #:use-module (gnu packages pdf)
   #:use-module (gnu packages popt)
   #:use-module (gnu packages python)
+  #:use-module (gnu packages python-web)
   #:use-module (gnu packages python-xyz)
   #:use-module (gnu packages xml)
   #:use-module (gnu packages ghostscript)
@@ -273,5 +274,6 @@ (define-public inkscape
     (inputs (modify-inputs (package-inputs inkscape/stable)
               (replace "lib2geom" lib2geom-1.2)
               (append bash-minimal
-                      librsvg)))        ;for the pixbuf loader
+                      librsvg           ;for the pixbuf loader
+                      python-cssselect)))        ;to render qrcode
     (properties (alist-delete 'hidden? (package-properties inkscape/stable)))))
-- 
2.38.1