~ruther/guix-local

96762fe48dd560dd81480164f5896be0ef76d84d — Sharlatan Hellseher 4 months ago 8c058f0
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
1 files changed, 16 insertions(+), 1 deletions(-)

M gnu/packages/python-xyz.scm
M gnu/packages/python-xyz.scm => gnu/packages/python-xyz.scm +16 -1
@@ 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))