me
/
guix
Archived
1
0
Fork 0

gnu: emacs-bash-completion: Update to 3.1.0-0.c5eaeed.

* gnu/packages/emacs-xyz.scm (emacs-bash-completion): Update to 3.1.0-0.c5eaeed.

Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
master
Niklas Eklund 2022-02-05 11:21:00 +01:00 committed by Nicolas Goaziou
parent b55241fa67
commit f424c3123d
No known key found for this signature in database
GPG Key ID: DA00B4F048E92F2D
1 changed files with 38 additions and 34 deletions

View File

@ -15937,41 +15937,45 @@ messaging service.")
Slack client.") Slack client.")
(license license:gpl3+)))) (license license:gpl3+))))
(define-public emacs-bash-completion (define-public emacs-bash-completion
(package ;; Need to use a newer commit than the latest version in order to support
(name "emacs-bash-completion") ;; completion interfaces that alters the candidate list provided by the
(version "3.1.0") ;; package
(source (let ((commit "c5eaeed156ab906190c662d491269230967104b1")
(origin (revision "0"))
(method git-fetch) (package
(uri (git-reference (name "emacs-bash-completion")
(url "https://github.com/szermatt/emacs-bash-completion") (version (git-version "3.1.0" revision commit))
(commit (string-append "v" version)))) (source
(file-name (git-file-name name version)) (origin
(sha256 (method git-fetch)
(base32 "11j2k3irixp47r2iglxdmjphahqhgnxg98n2xwagwzyq99lsamj4")))) (uri (git-reference
(inputs (list bash)) (url "https://github.com/szermatt/emacs-bash-completion")
(build-system emacs-build-system) (commit commit)))
(arguments (file-name (git-file-name name version))
`(#:phases (sha256
(modify-phases %standard-phases (base32 "0r221iirqsbz13s76r68i496izbirrvcw8ql3wsh205zmxa3jqg1"))))
(add-after 'unpack 'make-git-checkout-writable (inputs (list bash))
(λ _ (build-system emacs-build-system)
(for-each make-file-writable (find-files ".")) (arguments
#t)) `(#:phases
(add-before 'install 'configure (modify-phases %standard-phases
(lambda* (#:key inputs #:allow-other-keys) (add-after 'unpack 'make-git-checkout-writable
(let ((bash (assoc-ref inputs "bash"))) (λ _
(emacs-substitute-variables "bash-completion.el" (for-each make-file-writable (find-files "."))
("bash-completion-prog" (string-append bash "/bin/bash")))) #t))
#t))))) (add-before 'install 'configure
(home-page "https://github.com/szermatt/emacs-bash-completion") (lambda* (#:key inputs #:allow-other-keys)
(synopsis "Bash completion for the shell buffer") (let ((bash (assoc-ref inputs "bash")))
(description (emacs-substitute-variables "bash-completion.el"
"@code{bash-completion} defines dynamic completion hooks for shell-mode ("bash-completion-prog" (string-append bash "/bin/bash"))))
and shell-command prompts that are based on Bash completion.") #t)))))
(license license:gpl2+))) (home-page "https://github.com/szermatt/emacs-bash-completion")
(synopsis "Bash completion for the shell buffer")
(description
"@code{bash-completion} defines dynamic completion hooks for shell-mode
and shell-command prompts that are based on Bash completion.")
(license license:gpl2+))))
(define-public emacs-easy-kill (define-public emacs-easy-kill
(package (package