Browse Source

gnu: Add emacs-ddskk.

* gnu/packages/emacs-xyz.scm (emacs-ddskk): New variable.
Masaya Tojo 1 year ago
committed by Nicolas Goaziou
No known key found for this signature in database GPG Key ID: DA00B4F048E92F2D
1 changed files with 47 additions and 0 deletions
  1. +47

+ 47
- 0
gnu/packages/emacs-xyz.scm View File

@ -60,6 +60,7 @@
;;; Copyright © 2020 Paul Garlick <>
;;; Copyright © 2020 Robert Smith <>
;;; Copyright © 2020 Evan Straw <>
;;; Copyright © 2020 Masaya Tojo <>
;;; This file is part of GNU Guix.
@ -21732,3 +21733,49 @@ supports generation of phonetic and numeric passwords.")
Separated Value) files. It follows the format as defined in RFC 4180 \"Common
Format and MIME Type for CSV Files\" (@url{}).")
(license license:gpl3+)))
(define-public emacs-ddskk
;; XXX: Upstream adds code names to their release tags, so version and code
;; name below need to be updated together.
(let ((version "16.3")
(code-name "Kutomatsunai"))
(name "emacs-ddskk")
(version version)
(method git-fetch)
(uri (git-reference
(url "")
(commit (string-append "ddskk-" version "_" code-name))))
(file-name (git-file-name name version))
(base32 "0ln4x8f35z5y3kf9m718g223bn3lzcmw40jfjg2j5yi24ydf1wm9"))))
(build-system gnu-build-system)
`(#:modules ((guix build gnu-build-system)
(guix build utils)
(guix build emacs-utils))
#:imported-modules (,@%gnu-build-system-modules
(guix build emacs-utils))
#:test-target "test"
(modify-phases %standard-phases
(replace 'configure
(lambda* (#:key outputs #:allow-other-keys)
(make-file-writable "SKK-MK")
(emacs-substitute-variables "SKK-MK"
("PREFIX" (assoc-ref outputs "out"))
("LISPDIR" '(expand-file-name "/share/emacs/site-lisp" PREFIX))
("SKK_INFODIR" '(expand-file-name "info" PREFIX)))
(for-each make-file-writable (find-files "./doc"))
`(("emacs-minimal" ,emacs-minimal)))
(home-page "")
(synopsis "Simple Kana to Kanji conversion program")
"Daredevil SKK is a version of @acronym{SKK, Simple Kana to Kanji
conversion program}, a Japanese input method on Emacs.")
(license license:gpl2+))))