From: ROCKTAKEY <rocktakey@gmail.com>
To: 58570@debbugs.gnu.org
Cc: ROCKTAKEY <rocktakey@gmail.com>
Subject: [bug#58570] [PATCH] gnu: Add skk-jisyo.
Date: Sun, 16 Oct 2022 18:01:47 +0900 [thread overview]
Message-ID: <20221016090147.5607-1-rocktakey@gmail.com> (raw)
* gnu/packages/dictionaries.scm (skk-jisyo): New variable.
---
gnu/packages/dictionaries.scm | 39 +++++++++++++++++++++++++++++++++++
1 file changed, 39 insertions(+)
diff --git a/gnu/packages/dictionaries.scm b/gnu/packages/dictionaries.scm
index fa9a78fe80..7024937672 100644
--- a/gnu/packages/dictionaries.scm
+++ b/gnu/packages/dictionaries.scm
@@ -8,6 +8,7 @@
;;; Copyright © 2018 Arun Isaac <arunisaac@systemreboot.net>
;;; Copyright © 2019 Pierre Langlois <pierre.langlois@gmx.com>
;;; Copyright © 2020 Lu hux <luhux@outlook.com>
+;;; Copyright © 2022 ROCKTAKEY <rocktakey@gmail.com>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -429,3 +430,41 @@ (define-public sdcv
(description "sdcv is simple text-based utility for work with dictionaries
in StarDict's format.")
(license license:gpl2+)))
+
+(define-public skk-jisyo
+ (let ((commit "38c81dbc74cdbdead843364023dea837f239a48c")
+ (revision "0"))
+ (package
+ (name "skk-jisyo")
+ (version (git-version "0" revision commit))
+ (source (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/skk-dev/dict")
+ (commit commit)))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "121j73bgd7fvj7zvaidqvgzfdvimig3f0vsyfv4vndwfgskh2r7z"))))
+ (build-system copy-build-system)
+ (arguments
+ '(#:install-plan '(("./" "share/skk"
+ #:include-regexp ("SKK-JISYO\\.*")
+ #:exclude-regexp ("\\.gz$" "\\.md5$")
+ #:exclude ("SKK-JISYO.pubdic+"
+ "SKK-JISYO.wrong.annotated"
+ "SKK-JISYO.wrong")))
+ #:phases (modify-phases %standard-phases
+ (add-before 'install 'decompress
+ (lambda* (#:key outputs #:allow-other-keys)
+ (map (lambda (arg)
+ (invoke "gzip" "-v" "-d" arg))
+ (find-files "." "SKK-JISYO\\..*\\.gz$"))
+ (invoke "tar" "xvf" "zipcode.tar.gz"))))))
+ (home-page "https://skk-dev.github.io/dict/")
+ (synopsis "Jisyo (dictionary) files for the SKK Japanese-input software")
+ (description
+ "This package provides @file{SKK-JISYO.L}, the standard dictionary file
+for SKK Japanese input systems, and various dictionary files.
+@file{SKK-JISYO.L} can be used with @code{emacs-ddskk} or @code{uim} package.")
+ (license license:gpl2+))))
base-commit: d923cf1deac0b6762345d0d9e53822cbcb899365
--
2.37.3
next reply other threads:[~2022-10-16 20:11 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-10-16 9:01 ROCKTAKEY [this message]
2022-10-18 10:21 ` bug#58570: [PATCH] gnu: Add skk-jisyo Christopher Baines
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20221016090147.5607-1-rocktakey@gmail.com \
--to=rocktakey@gmail.com \
--cc=58570@debbugs.gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.