gnu: emacs-fish-completion: Don't propagate inputs.

* gnu/packages/emacs.scm (emacs-fish-completion)[propagated-inputs]: Remove fish
[inputs]: Add fish.
[arguments]: New field.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
This commit is contained in:
Pierre Neidhardt 2018-06-16 23:50:49 +02:00 committed by Ludovic Courtès
parent a14de83213
commit 3348e9f371
No known key found for this signature in database
GPG key ID: 090B11993D9AEBB5

View file

@ -10843,26 +10843,39 @@ (define-public emacs-evil-org
(license license:gpl3+)))) (license license:gpl3+))))
(define-public emacs-fish-completion (define-public emacs-fish-completion
(package (let ((commit "bac15fda1392a891070574dfe5d2d50b10831e8b"))
(name "emacs-fish-completion") (package
(version "20180329") (name "emacs-fish-completion")
(source (version (git-version "20180616" "1" commit))
(origin (source
(method url-fetch) (origin
(uri (string-append (method url-fetch)
"https://github.com/Ambrevar/emacs-fish-completion/archive/" (uri (string-append
"3e3ed1f19fa778b7c35ad88e033dce5a6b1fc153" "https://gitlab.com/Ambrevar/emacs-fish-completion/repository/"
".tar.gz")) "archive.tar.gz?ref="
(sha256 commit))
(base32 (sha256
"16329py7fvid0bap1qhqxhdc68m9qqy1p8gc2bhng81zhm5a5zsm")))) (base32
(build-system emacs-build-system) "093qzdrbkl7dhjk16zq8i13kh1phyigkblcfrbgbrxjqd2ndrfdi"))))
(propagated-inputs `(("fish" ,fish))) (build-system emacs-build-system)
(home-page (inputs `(("fish" ,fish)))
"https://github.com/Ambrevar/emacs-fish-completion") (arguments
(synopsis "Fish completion for Emacs pcomplete") `(#:phases
(description (modify-phases %standard-phases
"This package provides completion for the Fish shell to pcomplete (used (add-after 'unpack 'configure
(lambda* (#:key inputs outputs #:allow-other-keys)
(let ((fish (assoc-ref inputs "fish")))
;; Specify the absolute file names of the various
;; programs so that everything works out-of-the-box.
(emacs-substitute-variables
"fish-completion.el"
("fish-completion-command"
(string-append fish "/bin/fish")))))))))
(home-page
"https://gitlab.com/Ambrevar/emacs-fish-completion")
(synopsis "Fish completion for Emacs pcomplete")
(description
"This package provides completion for the Fish shell to pcomplete (used
by shell and Eshell). You can set it up globally with: by shell and Eshell). You can set it up globally with:
@example @example
@ -10877,7 +10890,7 @@ (define-public emacs-fish-completion
The package @code{emacs-bash-completion} is an optional dependency: if available, The package @code{emacs-bash-completion} is an optional dependency: if available,
@code{fish-completion-complete} can be configured to fall back on bash to further @code{fish-completion-complete} can be configured to fall back on bash to further
try completing. See @code{fish-completion-fallback-on-bash-p}.") try completing. See @code{fish-completion-fallback-on-bash-p}.")
(license license:gpl3+))) (license license:gpl3+))))
(define-public emacs-gif-screencast (define-public emacs-gif-screencast
(let ((commit "825e606950ec842304bf75cf85baef707b853b03")) (let ((commit "825e606950ec842304bf75cf85baef707b853b03"))