mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2025-01-27 04:59:27 -05:00
gnu: emacs-ivy: Update to 0.13.0.
* gnu/packages/emacs-xyz.scm (emacs-ivy): Update to 0.13.0.
This commit is contained in:
parent
7ecdcf516e
commit
321ef7c5b3
1 changed files with 43 additions and 48 deletions
|
@ -5311,59 +5311,54 @@ (define-public emacs-hydra
|
||||||
(license license:gpl3+)))
|
(license license:gpl3+)))
|
||||||
|
|
||||||
(define-public emacs-ivy
|
(define-public emacs-ivy
|
||||||
;; The latest release version introduced a new feature, swiper-isearch, that
|
(package
|
||||||
;; generally works well but had some noticeable bugs; this later commit
|
(name "emacs-ivy")
|
||||||
;; includes fixes for several of them.
|
(version "0.13.0")
|
||||||
(let ((commit "79333e9edfee38ec3b367c33711a68bdf7783259")
|
(source
|
||||||
(revision "2"))
|
(origin
|
||||||
(package
|
(method git-fetch)
|
||||||
(name "emacs-ivy")
|
(uri (git-reference
|
||||||
(version (git-version "0.12.0" revision commit))
|
(url "https://github.com/abo-abo/swiper.git")
|
||||||
(source
|
(commit version)))
|
||||||
(origin
|
(file-name (git-file-name name version))
|
||||||
(method git-fetch)
|
(sha256
|
||||||
(uri (git-reference
|
(base32
|
||||||
(url "https://github.com/abo-abo/swiper.git")
|
"0ghcwrg8a6r5q6fw2x8s08cwlmnz2d8qjhisnjwbnc2l4cgqpd9p"))))
|
||||||
(commit commit)))
|
(build-system emacs-build-system)
|
||||||
(file-name (git-file-name name version))
|
(arguments
|
||||||
(sha256
|
`(#:phases
|
||||||
(base32
|
(modify-phases %standard-phases
|
||||||
"0dyclc51sprhmr5fi4lylhwsrn8v1jgyblwk9ly60jj84lj6278z"))))
|
(add-after 'install 'install-doc
|
||||||
(build-system emacs-build-system)
|
(lambda* (#:key outputs #:allow-other-keys)
|
||||||
(arguments
|
(let* ((out (assoc-ref outputs "out"))
|
||||||
`(#:phases
|
(info (string-append out "/share/info")))
|
||||||
(modify-phases %standard-phases
|
(with-directory-excursion "doc"
|
||||||
(add-after 'install 'install-doc
|
(invoke "makeinfo" "ivy.texi")
|
||||||
(lambda* (#:key outputs #:allow-other-keys)
|
(install-file "ivy.info" info)
|
||||||
(let* ((out (assoc-ref outputs "out"))
|
#t))))
|
||||||
(info (string-append out "/share/info")))
|
(add-before 'check 'make-dummy-git-directory
|
||||||
(with-directory-excursion "doc"
|
(lambda _
|
||||||
(invoke "makeinfo" "ivy.texi")
|
(mkdir-p ".git")))
|
||||||
(install-file "ivy.info" info)
|
(add-after 'check 'delete-dummy-git-directory
|
||||||
#t))))
|
(lambda _
|
||||||
(add-before 'check 'make-dummy-git-directory
|
(delete-file-recursively ".git"))))
|
||||||
(lambda _
|
#:tests? #t
|
||||||
(mkdir-p ".git")))
|
#:test-command '("make" "test")))
|
||||||
(add-after 'check 'delete-dummy-git-directory
|
(propagated-inputs
|
||||||
(lambda _
|
`(("emacs-hydra" ,emacs-hydra)))
|
||||||
(delete-file-recursively ".git"))))
|
(native-inputs
|
||||||
#:tests? #t
|
`(("texinfo" ,texinfo)
|
||||||
#:test-command '("make" "test")))
|
("emacs-wgrep" ,emacs-wgrep)))
|
||||||
(propagated-inputs
|
(home-page "http://oremacs.com/swiper/")
|
||||||
`(("emacs-hydra" ,emacs-hydra)))
|
(synopsis "Incremental vertical completion for Emacs")
|
||||||
(native-inputs
|
(description
|
||||||
`(("texinfo" ,texinfo)
|
"This package provides @code{ivy-read} as an alternative to
|
||||||
("emacs-wgrep" ,emacs-wgrep)))
|
|
||||||
(home-page "http://oremacs.com/swiper/")
|
|
||||||
(synopsis "Incremental vertical completion for Emacs")
|
|
||||||
(description
|
|
||||||
"This package provides @code{ivy-read} as an alternative to
|
|
||||||
@code{completing-read} and similar functions. No attempt is made to determine
|
@code{completing-read} and similar functions. No attempt is made to determine
|
||||||
the best candidate. Instead, the user can navigate candidates with
|
the best candidate. Instead, the user can navigate candidates with
|
||||||
@code{ivy-next-line} and @code{ivy-previous-line}. The matching is done by
|
@code{ivy-next-line} and @code{ivy-previous-line}. The matching is done by
|
||||||
splitting the input text by spaces and re-building it into a regular
|
splitting the input text by spaces and re-building it into a regular
|
||||||
expression.")
|
expression.")
|
||||||
(license license:gpl3+))))
|
(license license:gpl3+)))
|
||||||
|
|
||||||
(define-public emacs-ivy-pass
|
(define-public emacs-ivy-pass
|
||||||
(let ((commit "5b523de1151f2109fdd6a8114d0af12eef83d3c5")
|
(let ((commit "5b523de1151f2109fdd6a8114d0af12eef83d3c5")
|
||||||
|
|
Loading…
Reference in a new issue