Subject: bug#75913: closed ([PATCH] gnu: Add emacs-go-translate.)

From: [email-masked] (GNU bug Tracking System)
Date: Tue, 04 Feb 2025 14:10:02 +0000

Your bug report

#75913: [PATCH] gnu: Add emacs-go-translate.

which was filed against the guix-patches package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to [email-masked].

-- 
75913: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=75913
GNU Bug Tracking System
Contact [email-masked] with problems

Subject: [PATCH] gnu: Add emacs-go-translate.
From: Sharlatan Hellseher <[email-masked]>
To: [email-masked]
Date: Tue, 04 Feb 2025 14:09:19 +0000
List-Id: <debbugs-submit.debbugs.gnu.org>

Hi,

Pushed to master as

7e58d45adf7 * master gnu: Add emacs-go-translate.

--
Oleg

Subject: [PATCH] gnu: Add emacs-go-translate.
From: Evgeny Pisemsky <[email-masked]>
To: [email-masked]
Date: Tue, 28 Jan 2025 19:20:23 +0300
List-Id: <debbugs-submit.debbugs.gnu.org>

* gnu/packages/emacs-xyz.scm (emacs-go-translate): New variable.

Change-Id: I623079b65f6df2180537a7589b953eaeb57d6a77
---
 gnu/packages/emacs-xyz.scm | 41 +++++++++++++++++++++++++++++++++++++-
 1 file changed, 40 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index 153785e017..51fd9c01e9 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -126,7 +126,7 @@
 ;;; Copyright © 2020, 2021, 2022, 2023 Andrew Tropin <[email-masked]>
 ;;; Copyright © 2023 Dominik Delgado Steuter <[email-masked]>
 ;;; Copyright © 2023 Juliana Sims <[email-masked]>
-;;; Copyright © 2023 Evgeny Pisemsky <[email-masked]>
+;;; Copyright © 2023, 2025 Evgeny Pisemsky <[email-masked]>
 ;;; Copyright © 2023 Gabriel Wicki <[email-masked]>
 ;;; Copyright © 2022-2023 Simon Josefsson <[email-masked]>
 ;;; Copyright © 2023 Fabio Natali <[email-masked]>
@@ -29151,6 +29151,45 @@ (define-public emacs-gif-screencast
 the GIF result.")
     (license license:gpl3+)))
 
+(define-public emacs-go-translate
+  (package
+    (name "emacs-go-translate")
+    (version "3.0.7")
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://github.com/lorniu/go-translate")
+             (commit (string-append "v" version))))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32 "0603iq1vjbm44sl7qrmkdfcqzzc703h1g5hdcswpj7pi0w7fxb4s"))))
+    (build-system emacs-build-system)
+    (arguments
+     (list
+      #:tests? #t
+      #:test-command #~(list "emacs" "-Q" "--batch"
+                             "-L" "."
+                             "-l" "gt-tests.el"
+                             "-f" "ert-run-tests-batch-and-exit")
+      #:phases #~(modify-phases %standard-phases
+                   (add-before 'check 'skip-failing-tests
+                     (lambda _
+                       (substitute* "gt-tests.el"
+                         (("\\(ert-deftest test--gt-translation-life-cycle .*"
+                           all)
+                          (string-append all "(skip-unless nil)\n"))
+                         (("\\(ert-deftest test--gt-valid-literally .*"
+                           all)
+                          (string-append all "(skip-unless nil)\n"))))))))
+    (home-page "https://github.com/lorniu/go-translate")
+    (synopsis "Configurable and scalable translation framework")
+    (description
+     "This is a translation framework on Emacs, with high configurability
+and extensibility.  It can easily be extended to various Text-to-Text
+conversion scenarios.")
+    (license license:gpl3+)))
+
 (define-public emacs-google-translate
   (package
     (name "emacs-google-translate")

base-commit: 49a113e3fc618d6f6bd5000c164a1d33701a30c4
-- 
2.47.1