mirror of
https://git.savannah.gnu.org/git/guix.git
synced 2025-02-03 00:26:33 +01:00
gnu: Add emacs-ripgrep.
* gnu/packages/emacs-xyz.scm (emacs-ripgrep): New variable. Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
This commit is contained in:
parent
050ec2390f
commit
bd70425a71
1 changed files with 30 additions and 0 deletions
|
@ -4405,6 +4405,36 @@ (define-public emacs-fd
|
|||
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)
|
||||
(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"))))))
|
||||
(propagated-inputs
|
||||
`(("ripgrep" ,ripgrep)))
|
||||
(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
|
||||
@command{ripgrep} command line tool.")
|
||||
(license license:gpl2+)))
|
||||
|
||||
(define-public emacs-rg
|
||||
(package
|
||||
(name "emacs-rg")
|
||||
|
|
Loading…
Reference in a new issue