unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
* [bug#47958] [PATCH] gnu: Add emacs-shell-command+.
@ 2021-04-22 20:35 Xinglu Chen
  2021-04-23  9:12 ` bug#47958: " Nicolas Goaziou
  0 siblings, 1 reply; 2+ messages in thread
From: Xinglu Chen @ 2021-04-22 20:35 UTC (permalink / raw)
  To: 47958

* gnu/packages/emacs-xyz.scm (emacs-shell-command+): New variable.
---
I would prefer to avoid ELPA URLs because of issues with
reproducibility[1], but I wasn’t able to find any references to the
upstream Git repository.

[1]: https://yhetil.org/guix-bugs/1614603812.pcr83awkcn.jorsn@jorsn.eu

 gnu/packages/emacs-xyz.scm | 19 +++++++++++++++++++
 1 file changed, 19 insertions(+)

diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index c7cce1563d..d590bdd98f 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -26974,6 +26974,25 @@ Features:
 @end itemize\n")
     (license license:gpl3+)))
 
+(define-public emacs-shell-command+
+  (package
+    (name "emacs-shell-command+")
+    (version "2.1.0")
+    (source (origin
+              (method url-fetch)
+              (uri (string-append "https://elpa.gnu.org/packages/"
+                                  "shell-command+-" version ".tar"))
+              (sha256
+               (base32 "1jyrnv89989bi03m5h8dj0cllsw3rvyxkiyfrh9v6gpxjwfy8lmq"))))
+    (build-system emacs-build-system)
+    (home-page "http://elpa.gnu.org/packages/shell-command+.html")
+    (synopsis "An extended shell-command")
+    (description "@code{shell-command+} is a @code{shell-command} substitue,
+that extends the regular Emacs command with several features.  You can for
+example count all the lines in a buffer with @code{> wc -l}, or delete all
+lower case letters in the selected region with @code{| tr -d a-z}.")
+    (license license:gpl3+)))
+
 (define-public emacs-shell-pop
   (let ((commit "4b4394037940a890a313d715d203d9ead2d156a6")
         (revision "0"))

base-commit: 5a0098e152c8888d4eea86593765a8bf393de5c4
-- 
2.31.1






^ permalink raw reply related	[flat|nested] 2+ messages in thread

* bug#47958: [PATCH] gnu: Add emacs-shell-command+.
  2021-04-22 20:35 [bug#47958] [PATCH] gnu: Add emacs-shell-command+ Xinglu Chen
@ 2021-04-23  9:12 ` Nicolas Goaziou
  0 siblings, 0 replies; 2+ messages in thread
From: Nicolas Goaziou @ 2021-04-23  9:12 UTC (permalink / raw)
  To: Xinglu Chen; +Cc: 47958-done

Hello,

Xinglu Chen <public@yoctocell.xyz> writes:

> * gnu/packages/emacs-xyz.scm (emacs-shell-command+): New variable.

Thank you.
> ---
> I would prefer to avoid ELPA URLs because of issues with
> reproducibility[1], but I wasn’t able to find any references to the
> upstream Git repository.

Hopefully, at some point, we will fix this bug.

> +    (synopsis "An extended shell-command")

Synopsis cannot start with "An". "guix lint" should catch this.

Applied.

Regards,
-- 
Nicolas Goaziou




^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2021-04-23  9:13 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-04-22 20:35 [bug#47958] [PATCH] gnu: Add emacs-shell-command+ Xinglu Chen
2021-04-23  9:12 ` bug#47958: " Nicolas Goaziou

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).