From 7ca7059ccd4f127b3e442148495737221989d8b4 Mon Sep 17 00:00:00 2001 From: gemmaro Date: Sat, 9 Nov 2024 12:10:27 +0900 Subject: [PATCH] gnu: Add emacs-mistty. * gnu/packages/emacs-xyz.scm (emacs-mistty): New variable. Change-Id: I13c67437d6cb7813d1d399626e52834019cb41f0 Signed-off-by: Nicolas Goaziou --- gnu/packages/emacs-xyz.scm | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm index f4b2526f758e2062a7efb415ee3a274a2040c2de..15b3e737127c79c66efe5a4ebf1d4008665d8743 100644 --- a/gnu/packages/emacs-xyz.scm +++ b/gnu/packages/emacs-xyz.scm @@ -4450,6 +4450,38 @@ programs such as @code{vi}, @code{top}, @code{htop} or even @code{emacs -nw}.") (license license:gpl3+))) +(define-public emacs-mistty + (let ((revision "0") + (commit "6284c0f6529bcce57d183e20765052c603846115")) + (package + (name "emacs-mistty") + (version (git-version "1.1" revision commit)) + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/szermatt/mistty") + (commit commit))) + (file-name (git-file-name name version)) + (sha256 + (base32 "1159dy63dq7kyh06q9kfvq6x4bx59w9g1slq2m3xvx2ngaiydf97")))) + (build-system emacs-build-system) + (arguments + (list + #:phases #~(modify-phases %standard-phases + (add-before 'patch-el-files 'replace-bash-path + (lambda* (#:key inputs #:allow-other-keys) + (substitute* "mistty-term.el" + (("/bin/bash") + (search-input-file inputs "bin/bash")))))))) + (inputs (list bash)) + (home-page "https://github.com/szermatt/mistty") + (synopsis "Emacs terminal major mode based on Term") + (description + "This package defines a major mode that runs a shell inside of +a buffer, similarly to Comint mode. It is built on top of Term.") + (license license:gpl3+)))) + (define-public emacs-counsel-bbdb (package (name "emacs-counsel-bbdb")