From 96762fe48dd560dd81480164f5896be0ef76d84d Mon Sep 17 00:00:00 2001 From: Sharlatan Hellseher Date: Tue, 28 Oct 2025 09:45:44 +0000 Subject: [PATCH] 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 4435f85e543e3af0f1748fab86a544c162de9a83..46c503a90d9c0f68779c5a4366275bc14425e0e0 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: +(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))