guix_mirror_bot pushed a commit to branch gnome-team
in repository guix.

commit 5ac23a71fff36a62540e3ce55787df815e9fc6dc
Author: Maxim Cournoyer <[email protected]>
AuthorDate: Sun Mar 22 11:44:10 2026 +0900

    gnu: gi-docgen: Update to 2026.1.
    
    * gnu/packages/gnome.scm (gi-docgen): Update to 2026.1.
    [arguments]: New field.
    [native-inputs]: Add graphviz-14.
    
    Change-Id: I5bd19caa41695d4660a12478d8e6766069ed0791
    Signed-off-by: NoĆ© Lopez <[email protected]>
---
 gnu/packages/gnome.scm | 19 ++++++++++++++-----
 1 file changed, 14 insertions(+), 5 deletions(-)

diff --git a/gnu/packages/gnome.scm b/gnu/packages/gnome.scm
index 82e3b868db..0a32c60c50 100644
--- a/gnu/packages/gnome.scm
+++ b/gnu/packages/gnome.scm
@@ -5188,17 +5188,26 @@ and other secrets.  It communicates with the \"Secret 
Service\" using DBus.")
 (define-public gi-docgen
   (package
     (name "gi-docgen")
-    (version "2025.4")
+    (version "2026.1")
     (source (origin
               (method url-fetch)
               (uri (pypi-uri "gi_docgen" version))
               (sha256
                (base32
-                "1i9dlwirizc0n5sw9w60yscaj14x9x06fdq64kwxqkia13d6dq3z"))))
+                "1df7yb6d5zsr4wks4p2lf40a2v4v2dasx3pv2v3d2ma25d7krb35"))))
     (build-system pyproject-build-system)
-    (native-inputs
-     (list python-pytest-bootstrap
-           python-setuptools))
+    (arguments
+     (list
+      #:phases #~(modify-phases %standard-phases
+                   (add-after 'unpack 'patch-commands
+                     (lambda* (#:key inputs #:allow-other-keys)
+                       (substitute* '("gidocgen/config.py"
+                                      "gidocgen/utils.py")
+                         (("find_program\\(['\"]dot['\"])")
+                          (format #f "find_program(~s)"
+                                  (search-input-file inputs "bin/dot")))))))))
+    (native-inputs (list python-pytest-bootstrap python-setuptools))
+    (inputs (list graphviz-14))
     (propagated-inputs (list python-jinja2
                              python-markdown
                              python-markupsafe

Reply via email to