blob: 1ccc5a4161b3adcf74c09f14d8b527962639b730 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
|
;;; Whispers --- Stealth VPN and ssh tunneler
;;; Copyright © 2024 Runciter <runciter@whispers-vpn.org>
;;;
;;; 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 <http://www.gnu.org/licenses/>.
(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+))))
|