diff options
author | Yurii Kholodkov <urist.mckorobochka@gmail.com> | 2021-02-18 21:01:19 +0100 |
---|---|---|
committer | Nicolas Goaziou <mail@nicolasgoaziou.fr> | 2021-02-18 21:01:19 +0100 |
commit | 690aa1c59db1ba08bc79fcaf1e948c4cd821c1be (patch) | |
tree | 2ad7ec78c97768a86e76f4aead697350ff7736fc | |
parent | 11feecc23a20ad98088a2ed7b7b8a8940550e0ff (diff) |
gnu: Add emacs-kbd.
* gnu/packages/emacs-xyz.scm (emacs-kbd): New variable.
Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
-rw-r--r-- | gnu/packages/emacs-xyz.scm | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm index 450e120959..4344520430 100644 --- a/gnu/packages/emacs-xyz.scm +++ b/gnu/packages/emacs-xyz.scm @@ -91,6 +91,7 @@ ;;; Copyright © 2020, 2021 Noah Evans <noah@nevans.me> ;;; Copyright © 2020 Brit Butler <brit@kingcons.io> ;;; Copyright © 2021 Alexandr Vityazev <avityazew@gmail.com> +;;; Copyright © 2021 Yurii Kholodkov <urist.mckorobochka@gmail.com> ;;; ;;; This file is part of GNU Guix. ;;; @@ -3146,6 +3147,36 @@ depicting stroke orders for all Kanji. The collection is a slightly modified and limited version of the images provided by the KanjiVG project.") (license license:gpl3+)))) +(define-public emacs-kbd + ;; Package has no release. Version is extracted from "Version:" keyword in + ;; main file. + (let ((commit "a7f4c9b9770fa6a58895c5f121df82652bb1b737") + (revision "0")) + (package + (name "emacs-kbd") + (version (git-version "0.0.1" revision commit)) + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/slotThe/kbd-mode") + (commit commit))) + (file-name (git-file-name name version)) + (sha256 + (base32 "0jv9yfsncgf96308c041hvps3jlc151xb0aipm0vasbma3x83ygm")))) + (build-system emacs-build-system) + (arguments + `(#:phases + (modify-phases %standard-phases + (add-after 'unpack 'enter-lisp-directory + (lambda _ (chdir "lisp") #t))))) + (home-page "https://github.com/slotThe/kbd-mode") + (synopsis "Minor mode for syntax highlighting kmonad's @file{.kbd} files") + (description + "This minor mode provides syntax highlighting for Lisp-like DSL used in +kmonad's configuration files (@file{.kbd}).") + (license license:gpl3+)))) + (define-public emacs-keycast (package (name "emacs-keycast") |