;;; Whispers --- Stealth VPN and ssh tunneler ;;; Copyright © 2024 Runciter ;;; ;;; This file is part of Whispers. ;;; ;;; Whispers is free software; you can redistribute it and/or modify it ;;; under the terms of the GNU General Public License as published by ;;; the Free Software Foundation; either version 3 of the License, or (at ;;; your option) any later version. ;;; ;;; Whispers is distributed in the hope that it will be useful, but ;;; WITHOUT ANY WARRANTY; without even the implied warranty of ;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the ;;; GNU General Public License for more details. ;;; ;;; You should have received a copy of the GNU General Public License ;;; along with Whispers. If not, see . (define-module (whispers packages dict) #:use-module (guix) #:use-module (guix build-system gnu) #:use-module ((guix licenses) #:select (gpl2+ gpl3+ cc-by-sa3.0)) #:use-module (guix git-download) #:use-module (guix git) #:use-module (gnu packages autotools) #:use-module (gnu packages gawk) #:use-module (gnu packages base) #:use-module (gnu packages compression) #:use-module (gnu packages dictd) #:export ()) (define-public cc-cedict (package (name "cc-cedict") (version "0.1") (source (origin (method git-fetch) (uri (git-reference (url "https://git.whispers-vpn.org/cc-cedict.git") (commit "1bb276d2340eff428ff397dbd493646d880388c4"))) (sha256 (base32 "1d0l6g83n964af81bl96c9hbd6gacbq9a68n5d9wgifihl33z4q7")))) (inputs (list sed gawk gzip dictd)) (arguments (list #:tests? #f)) (build-system gnu-build-system) (synopsis "CC-CEDICT is a community-maintained free Chinese-English dictionary.") (description "CC-CEDICT is a community-maintained free Chinese-English dictionary. It is a continuation of the CEDICT project started by Paul Denisowski in 1997 with the aim to provide a complete downloadable Chinese to English dictionary with pronunciation in pinyin for the Chinese characters. CC-CEDICT is licensed under a Creative Commons license CC-BY-SA. Published by MDBG License: Creative Commons Attribution-Share Alike 3.0 Referenced works: CEDICT - Copyright © 1997, 1998 Paul Andrew Denisowski CC-CEDICT can be downloaded from: http://www.mdbg.net/chindict/chindict.php?page=cc-cedict Additions and corrections to the CC-CEDICT source can be sent through: http://cc-cedict.org/editor/editor.php For more information about CC-CEDICT see: http://cc-cedict.org/wiki/ This package converts the community maintained text file containing the CC-CEDICT dictionary into 5 dictionaries in the DICT Interchange format, which can be served to client programs such as 'dico' and 'dicod' by servers implementing the DICT protocol (RFC 2229), such as 'dictd' or 'dicod'. While the exporter script that this package uses to create the dictionaries is licensed under the GPL, the output dictionaries are licensed under CC-BY-SA version 3.0.") (home-page "http://cc-cedict.org/") (license (list cc-by-sa3.0 gpl3+))))