gnu: emacs-deadgrep: Update to 0.12.

* gnu/packages/emacs-xyz.scm (emacs-deadgrep): Update to 0.12.
This commit is contained in:
Nicolas Goaziou 2022-11-06 22:30:43 +01:00
parent 93d8aad521
commit b53355f08d
No known key found for this signature in database
GPG key ID: DA00B4F048E92F2D

View file

@ -23861,44 +23861,41 @@ accept and reject GitHub pull requests.")
(license license:gpl3+)))) (license license:gpl3+))))
(define-public emacs-deadgrep (define-public emacs-deadgrep
;; Latest release is not tagged. (package
(let ((commit "aebaf72e35546fd235b4861399791814e4e4c7d8") (name "emacs-deadgrep")
(revision "1")) (version "0.12")
(package (source
(name "emacs-deadgrep") (origin
(version (git-version "0.11" revision commit)) (method git-fetch)
(source (uri (git-reference
(origin (url "https://github.com/Wilfred/deadgrep")
(method git-fetch) (commit version)))
(uri (git-reference (file-name (git-file-name name version))
(url "https://github.com/Wilfred/deadgrep") (sha256
(commit commit))) (base32
(file-name (git-file-name name version)) "0bwf8gsqw7hsmacqd34piwgv066ijfclmxaigkvhvpac0lpsmi79"))))
(sha256 (build-system emacs-build-system)
(base32 (inputs (list ripgrep))
"1qd60winrrpxmrjsx77i24921p6dad9halz5l5s6biwa421zcgr3")))) (propagated-inputs
(build-system emacs-build-system) (list emacs-dash emacs-s emacs-spinner))
(inputs (list ripgrep)) (arguments
(propagated-inputs `(#:phases
(list emacs-dash emacs-s emacs-spinner)) (modify-phases %standard-phases
(arguments (add-after 'unpack 'configure
`(#:phases (lambda* (#:key inputs #:allow-other-keys)
(modify-phases %standard-phases (let ((ripgrep (assoc-ref inputs "ripgrep")))
(add-after 'unpack 'configure ;; .el is read-only in git.
(lambda* (#:key inputs #:allow-other-keys) (make-file-writable "deadgrep.el")
(let ((ripgrep (assoc-ref inputs "ripgrep"))) ;; Specify the absolute file names of rg so that everything
;; .el is read-only in git. ;; works out-of-the-box.
(make-file-writable "deadgrep.el") (emacs-substitute-variables "deadgrep.el"
;; Specify the absolute file names of rg so that everything ("deadgrep-executable"
;; works out-of-the-box. (string-append ripgrep "/bin/rg")))))))))
(emacs-substitute-variables "deadgrep.el" (home-page "https://github.com/Wilfred/deadgrep")
("deadgrep-executable" (synopsis "Frontend for @code{ripgrep}")
(string-append ripgrep "/bin/rg"))))))))) (description "This package provides an Emacs interface for performing
(home-page "https://github.com/Wilfred/deadgrep")
(synopsis "Frontend for @code{ripgrep}")
(description "This package provides an Emacs interface for performing
searches with @code{ripgrep}.") searches with @code{ripgrep}.")
(license license:gpl3+)))) (license license:gpl3+)))
(define-public emacs-focus (define-public emacs-focus
(package (package