From fbfcb7a8260245c26f2dd4c7b496b1294312e9b2 Mon Sep 17 00:00:00 2001
From: Michael Rohleder <mike@rohleder.de>
Date: Mon, 20 Jul 2020 03:18:34 +0200
Subject: [PATCH] gnu: Add emacs-shx.
* gnu/packages/emacs-xyz.scm (emacs-shx): New variable.
---
gnu/packages/emacs-xyz.scm | 25 +++++++++++++++++++++++++
1 file changed, 25 insertions(+)
@@ -12382,6 +12382,31 @@ messaging service.")
and shell-command prompts that are based on Bash completion.")
(license license:gpl2+)))
+(define-public emacs-shx
+ (package
+ (name "emacs-shx")
+ (version "1.4.0")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/riscy/shx-for-emacs")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "0p9b621rgy34r1hl9xfzxh4xpx9gpsr3n330ypfxhlr0s5754j73"))))
+ (build-system emacs-build-system)
+ (arguments
+ '(#:phases
+ (modify-phases %standard-phases
+ (delete 'patch-el-files)))) ; that zsh string is in a docstring...
+ (home-page "https://github.com/riscy/shx-for-emacs")
+ (synopsis "Extends comint-mode in Emacs (e.g. M-x shell)")
+ (description "An Emacs shell-mode (and comint-mode) extension that enables displaying
+small plots and graphics and lets users write shell commands in Emacs Lisp.")
+ (license license:gpl3)))
+
(define-public emacs-easy-kill
(package
(name "emacs-easy-kill")
--
2.27.0