gnu: emacs-rg: Update to 2.2.1.
* gnu/packages/emacs-xyz.scm (emacs-rg): Update to 2.2.1.
This commit is contained in:
parent
e5b3349128
commit
30f8183b9a
1 changed files with 30 additions and 32 deletions
|
@ -5046,40 +5046,38 @@ result.")
|
||||||
(license license:gpl2+)))
|
(license license:gpl2+)))
|
||||||
|
|
||||||
(define-public emacs-rg
|
(define-public emacs-rg
|
||||||
(let ((commit "444a8ccfea0b38452a0bc4c390a8ee01cfe30017")
|
(package
|
||||||
(revision "0"))
|
(name "emacs-rg")
|
||||||
(package
|
(version "2.2.1")
|
||||||
(name "emacs-rg")
|
(source
|
||||||
(version (git-version "2.2.0" revision commit))
|
(origin
|
||||||
(source
|
(method git-fetch)
|
||||||
(origin
|
(uri (git-reference
|
||||||
(method git-fetch)
|
(url "https://github.com/dajva/rg.el")
|
||||||
(uri (git-reference
|
(commit version)))
|
||||||
(url "https://github.com/dajva/rg.el")
|
(file-name (git-file-name name version))
|
||||||
(commit commit)))
|
(sha256
|
||||||
(file-name (git-file-name name version))
|
(base32 "1nxzplpk5cf6hhr2v85bmg68i6am96shi2zq7m83fs96bilhwsp5"))))
|
||||||
(sha256
|
(build-system emacs-build-system)
|
||||||
(base32 "1nxzplpk5cf6hhr2v85bmg68i6am96shi2zq7m83fs96bilhwsp5"))))
|
(arguments
|
||||||
(build-system emacs-build-system)
|
'(#:phases
|
||||||
(arguments
|
(modify-phases %standard-phases
|
||||||
'(#:phases
|
(add-after 'unpack 'remove-rg-path
|
||||||
(modify-phases %standard-phases
|
;; Remove the path to ripgrep so that it works on remote systems.
|
||||||
(add-after 'unpack 'remove-rg-path
|
(lambda _
|
||||||
;; Remove the path to ripgrep so that it works on remote systems.
|
(let ((file "rg.el"))
|
||||||
(lambda _
|
(chmod file #o644)
|
||||||
(let ((file "rg.el"))
|
(emacs-substitute-sexps file
|
||||||
(chmod file #o644)
|
("(defcustom rg-executable" "rg"))))))))
|
||||||
(emacs-substitute-sexps file
|
(propagated-inputs
|
||||||
("(defcustom rg-executable" "rg"))))))))
|
(list emacs-s emacs-transient emacs-wgrep ripgrep))
|
||||||
(propagated-inputs
|
(home-page "https://rgel.readthedocs.io/en/latest/")
|
||||||
(list emacs-s emacs-transient emacs-wgrep ripgrep))
|
(synopsis "Search tool based on @code{ripgrep}")
|
||||||
(home-page "https://rgel.readthedocs.io/en/latest/")
|
(description
|
||||||
(synopsis "Search tool based on @code{ripgrep}")
|
"@code{rg} is an Emacs search package based on the @code{ripgrep} command
|
||||||
(description
|
|
||||||
"@code{rg} is an Emacs search package based on the @code{ripgrep} command
|
|
||||||
line tool. It allows one to interactively search based on the editing context
|
line tool. It allows one to interactively search based on the editing context
|
||||||
then refine or modify the search results.")
|
then refine or modify the search results.")
|
||||||
(license license:gpl3+))))
|
(license license:gpl3+)))
|
||||||
|
|
||||||
(define-public emacs-inf-ruby
|
(define-public emacs-inf-ruby
|
||||||
(package
|
(package
|
||||||
|
|
Reference in a new issue