From: Dhruvin Gandhi via Guix-patches via <guix-patches@gnu.org>
To: 49286@debbugs.gnu.org
Cc: Dhruvin Gandhi <contact@dhruvin.dev>
Subject: [bug#49286] [PATCH 1/1] gnu: Add emacs-ripgrep.
Date: Wed, 30 Jun 2021 12:59:11 +0530 [thread overview]
Message-ID: <20210630072911.28038-1-contact@dhruvin.dev> (raw)
In-Reply-To: <20210630072601.27756-1-contact@dhruvin.dev>
* gnu/packages/emacs-xyz.scm (emacs-ripgrep): New variable.
---
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 d8c1f86207..bf0ab5910d 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -99,6 +99,7 @@
;;; Copyright © 2021 Eugene Klimov <lipklim@mailbox.org>
;;; Copyright © 2021 Zheng Junjie <873216071@qq.com>
;;; Copyright © 2021 David Dashyan <mail@davie.li>
+;;; Copyright © 2021 Dhruvin Gandhi <contact@dhruvin.dev>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -4404,6 +4405,37 @@ column by drawing a thin line down the length of the editing window.")
result.")
(license license:gpl3+)))
+(define-public emacs-ripgrep
+ (package
+ (name "emacs-ripgrep")
+ (version "0.4.0")
+ (source (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/nlamirault/ripgrep.el")
+ (commit version)))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "1a5rdpmvsgsjlc9sywism9pq7jd6n9qbcdsvpbfkq1npwhpifkbj"))))
+ (build-system emacs-build-system)
+ (propagated-inputs
+ `(("ripgrep" ,ripgrep)))
+ (arguments
+ `(#:phases
+ (modify-phases %standard-phases
+ ;; The repository contains both ripgrep and projectile-ripgrep
+ ;; packages. The latter has been merged into projectile itself.
+ (add-after 'unpack 'delete-projectile-ripgrep
+ (lambda _
+ (delete-file "projectile-ripgrep.el")
+ #t)))))
+ (home-page "https://github.com/nlamirault/ripgrep.el")
+ (synopsis "Search using ripgrep from inside Emacs")
+ (description "@code{ripgrep} is an Emacs search package based on the
+@code{ripgrep} command line tool.")
+ (license license:gpl2+)))
+
(define-public emacs-rg
(package
(name "emacs-rg")
--
2.32.0
next prev parent reply other threads:[~2021-06-30 7:30 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-06-30 7:26 [bug#49286] [PATCH 0/1] Add emacs-ripgrep Dhruvin Gandhi via Guix-patches via
2021-06-30 7:29 ` Dhruvin Gandhi via Guix-patches via [this message]
2021-07-02 7:23 ` bug#49286: [PATCH 1/1] gnu: " Nicolas Goaziou
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20210630072911.28038-1-contact@dhruvin.dev \
--to=guix-patches@gnu.org \
--cc=49286@debbugs.gnu.org \
--cc=contact@dhruvin.dev \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.