aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gnu/packages/textutils.scm24
1 files changed, 24 insertions, 0 deletions
diff --git a/gnu/packages/textutils.scm b/gnu/packages/textutils.scm
index 084017dbde..1d498b5a75 100644
--- a/gnu/packages/textutils.scm
+++ b/gnu/packages/textutils.scm
@@ -15,6 +15,7 @@
;;; Copyright © 2017 Alex Vong <alexvong1995@gmail.com>
;;; Copyright © 2018 Tobias Geerinckx-Rice <me@tobias.gr>
;;; Copyright © 2018 Pierre Neidhardt <mail@ambrevar.xyz>
+;;; Copyright © 2018 Meiyo Peng <meiyo.peng@gmail.com>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -756,3 +757,26 @@ indentation.
@end itemize\n")
(home-page "http://docx2txt.sourceforge.net")
(license license:gpl3+)))
+
+(define-public opencc
+ (package
+ (name "opencc")
+ (version "1.0.5")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (string-append "https://github.com/BYVoid/OpenCC"
+ "/archive/ver." version ".tar.gz"))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "01870gbkf711msirf3206k0ajaabypjhnx3fny5wikw0ladn9q8w"))))
+ (build-system cmake-build-system)
+ (native-inputs
+ `(("python" ,python-wrapper)))
+ (home-page "https://github.com/BYVoid/OpenCC")
+ (synopsis "Convert between Traditional Chinese and Simplified Chinese")
+ (description "Open Chinese Convert (OpenCC) converts between Traditional
+Chinese and Simplified Chinese, supporting character-level conversion,
+phrase-level conversion, variant conversion, and regional idioms among
+Mainland China, Taiwan, and Hong-Kong.")
+ (license license:asl2.0)))
tr> 2023-10-27home: services: Fix regression in generated ‘on-first-login’ script....Rostislav Svoboda 2023-10-21home: services: Fix regression in generated ‘on-first-login’ script....Ludovic Courtès 2023-10-20home: services: Fix race condition when detecting first login....Carlo Zancanaro 2023-09-17gnu: home: zsh: Load environment when running via ssh...Saku Laesvuori 2023-09-14home: services: redshift: Use redshift package specified in configuration...Kjartan Oli Agustsson 2023-09-04home: Add parcimonie service....Efraim Flashner 2023-08-29home: services: dicod, syncthing: Import (gnu home services shepherd)....Ludovic Courtès 2023-08-20home: services: ssh: Fix compilation warning with 'serialize-match-criteria'....Nicolas Graves 2023-08-20home: services: Add Syncthing....Ludovic Courtès 2023-08-20home: services: Add dicod....Ludovic Courtès 2023-08-20home: services: mcron: Define as a mapping of the system service....Ludovic Courtès 2023-08-20home: services: Support mapping of System services to Home services....Ludovic Courtès