From 3b37dbabef8baad6787aa84ba074d65d373b9620 Mon Sep 17 00:00:00 2001 From: Masaya Tojo Date: Sun, 26 Feb 2023 04:42:34 +0900 Subject: tojo-tokyo: Add emacs-cfrs. --- tojo-tokyo/packages/emacs-xyz.scm | 26 +++++++++++++++++++++++++- 1 file changed, 25 insertions(+), 1 deletion(-) diff --git a/tojo-tokyo/packages/emacs-xyz.scm b/tojo-tokyo/packages/emacs-xyz.scm index 9c82a8a..ee76c10 100644 --- a/tojo-tokyo/packages/emacs-xyz.scm +++ b/tojo-tokyo/packages/emacs-xyz.scm @@ -23,7 +23,8 @@ #:use-module (guix git-download) #:use-module (guix build-system emacs) #:use-module (gnu packages) - #:use-module (gnu packages base)) + #:use-module (gnu packages base) + #:use-module (gnu packages emacs-xyz)) (define-public emacs-ob-acl2 (package @@ -46,3 +47,26 @@ which is a standard ACL2 execution environment. Must run acl2 with *shell* before using it.") (license license:gpl3+))) + +(define-public emacs-cfrs + (let ((commit "f3a21f237b2a54e6b9f8a420a9da42b4f0a63121") + (revision "0")) + (package + (name "emacs-cfrs") + (version (git-version "1.6.0" revision commit)) + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/Alexander-Miller/cfrs.git") + (commit commit))) + (file-name (git-file-name name version)) + (sha256 + (base32 "1vf5zm82sx3m1yvq73km8ajapv6rnz41b1jrsif7kh0ijh9vk3qi")))) + (build-system emacs-build-system) + (propagated-inputs (list emacs-s emacs-dash emacs-posframe)) + (home-page "https://github.com/Alexander-Miller/cfrs") + (synopsis "Cild Frame Read String") + (description + "cfrs.el is a simple alternative to read-string that allows reading input via a small child-frame spawned at the position of the cursor.") + (license license:gpl3+)))) -- cgit v1.2.3