guix_mirror_bot pushed a commit to branch master
in repository guix.

commit 96762fe48dd560dd81480164f5896be0ef76d84d
Author: Sharlatan Hellseher <[email protected]>
AuthorDate: Tue Oct 28 09:45:44 2025 +0000

    gnu: offlate: Fix build.
    
    * gnu/packages/python-xyz.scm (python-translate-toolkit-for-offlate):
    New variable.
    (offlate): [propagated-inputs]: Remove python-translate-toolkit; add
    python-translate-toolkit-for-offlate.
    
    Change-Id: Iad34870f6a0fb89ec401f27274b2c699d6eea09e
---
 gnu/packages/python-xyz.scm | 17 ++++++++++++++++-
 1 file changed, 16 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 4435f85e54..46c503a90d 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -25142,6 +25142,21 @@ while only declaring the test-specific fields.")
 several utilities, as well as an API for building localization tools.")
     (license license:gpl2+)))
 
+;; XXX: See: <https://codeberg.org/guix/guix/pulls/3780#issuecomment-7957715>
+(define-public python-translate-toolkit-for-offlate
+  (hidden-package
+   (package
+     (inherit python-translate-toolkit)
+     (version "3.6.2")
+     (source
+      (origin
+        (method url-fetch)
+        (uri (pypi-uri "translate-toolkit" version ".tar.gz"))
+        (sha256
+         (base32 "0m4cpsp7x7h5m5agg4ybscf7y86wla46q2lvxpi2myplb6qlgcli"))))
+     (arguments
+      (list #:tests? #f)))))
+
 (define-public python-gtts
   (package
     (name "python-gtts")
@@ -30029,7 +30044,7 @@ files.  These files are used to translate strings in 
android apps.")
            python-pyqt
            python-requests
            python-ruamel.yaml
-           python-translate-toolkit
+           python-translate-toolkit-for-offlate
            python-translation-finder
            python-watchdog))
     (native-inputs (list qttools-5 fontforge python-setuptools))

Reply via email to