Archived
1
0
Fork 0

gnu: emacs-ivy: Update to 0.12.0-1.d3e4514.

* gnu/packages/emacs-xyz.scm (emacs-ivy): Update to 0.12.0-1.d3e4514.

Signed-off-by: Ricardo Wurmus <rekado@elephly.net>
This commit is contained in:
Brian Leung 2019-08-05 23:05:43 +02:00 committed by Ricardo Wurmus
parent aac6c53a7b
commit 6a5198170e
No known key found for this signature in database
GPG key ID: 197A5888235FACAC

View file

@ -4732,45 +4732,50 @@ automatically.")
(license license:gpl3+))) (license license:gpl3+)))
(define-public emacs-ivy (define-public emacs-ivy
(package ;; The latest release version introduced a new feature, swiper-isearch, that
(name "emacs-ivy") ;; generally works well but had some noticeable bugs; this later commit
(version "0.12.0") ;; includes fixes for several of them.
(source (let ((commit "d3e4514fd72f217c704ae18afdf711bb9036a04d")
(origin (revision "1"))
(method git-fetch) (package
(uri (git-reference (name "emacs-ivy")
(url "https://github.com/abo-abo/swiper.git") (version (git-version "0.12.0" revision commit))
(commit version))) (source
(file-name (git-file-name name version)) (origin
(sha256 (method git-fetch)
(base32 (uri (git-reference
"0xgngn3jhmyn6mlkk9kmgfgh0w5i50b27syr4cgfgarg6p77j05w")))) (url "https://github.com/abo-abo/swiper.git")
(build-system emacs-build-system) (commit commit)))
(arguments (file-name (git-file-name name version))
`(#:phases (sha256
(modify-phases %standard-phases (base32
(add-after 'install 'install-doc "142axxc6vsl14cfyvzj9csiykxdn7vhw88fy955hzx7av4qfqg4x"))))
(lambda* (#:key outputs #:allow-other-keys) (build-system emacs-build-system)
(let* ((out (assoc-ref outputs "out")) (arguments
(info (string-append out "/share/info"))) `(#:phases
(with-directory-excursion "doc" (modify-phases %standard-phases
(invoke "makeinfo" "ivy.texi") (add-after 'install 'install-doc
(install-file "ivy.info" info) (lambda* (#:key outputs #:allow-other-keys)
#t))))))) (let* ((out (assoc-ref outputs "out"))
(propagated-inputs (info (string-append out "/share/info")))
`(("emacs-hydra" ,emacs-hydra))) (with-directory-excursion "doc"
(native-inputs (invoke "makeinfo" "ivy.texi")
`(("texinfo" ,texinfo))) (install-file "ivy.info" info)
(home-page "http://oremacs.com/swiper/") #t)))))))
(synopsis "Incremental vertical completion for Emacs") (propagated-inputs
(description `(("emacs-hydra" ,emacs-hydra)))
"This package provides @code{ivy-read} as an alternative to (native-inputs
`(("texinfo" ,texinfo)))
(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")