From 45bc36e7ad8b1bd75cbab3a23affb70c2f355d53 Mon Sep 17 00:00:00 2001 From: Nicolas Goaziou Date: Sun, 26 Jan 2025 19:32:00 +0100 Subject: [PATCH] gnu: emacs-bash-completion: Update to 3.2. * gnu/packages/emacs-xyz.scm (emacs-bash-completion): Update to 3.2. Change-Id: I3345f463ad81f6f2a4083b6bd5e55182d2d00804 --- gnu/packages/emacs-xyz.scm | 61 +++++++++++++++++--------------------- 1 file changed, 28 insertions(+), 33 deletions(-) diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm index ee01a61909..fc36ca1668 100644 --- a/gnu/packages/emacs-xyz.scm +++ b/gnu/packages/emacs-xyz.scm @@ -23478,40 +23478,35 @@ Slack client.") (license license:gpl3+)))) (define-public emacs-bash-completion - ;; This commit fixes an issue that would brake the shell process if trying - ;; to complete a command (see: - ;; https://github.com/szermatt/emacs-bash-completion/issues/63). - (let ((commit "b38f9bca0c194ee3a79c19a14db3b38d1262ca8c") - (revision "1")) - (package - (name "emacs-bash-completion") - (version (git-version "3.1.1" revision commit)) - (source - (origin - (method git-fetch) - (uri (git-reference - (url "https://github.com/szermatt/emacs-bash-completion") - (commit commit))) - (file-name (git-file-name name version)) - (sha256 - (base32 "09didsy8l6q083djlf9xqqx4fbsisaq5j7vj8fj4qlwh34pfl94c")))) - (build-system emacs-build-system) - (arguments - (list - #:phases - #~(modify-phases %standard-phases - (add-before 'install 'configure - (lambda* (#:key inputs #:allow-other-keys) - (emacs-substitute-variables "bash-completion.el" - ("bash-completion-prog" - (search-input-file inputs "/bin/bash")))))))) - (inputs (list bash)) - (home-page "https://github.com/szermatt/emacs-bash-completion") - (synopsis "Bash completion for the shell buffer") - (description - "Bash Completion defines dynamic completion hooks for Shell mode and + (package + (name "emacs-bash-completion") + (version "3.2") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/szermatt/emacs-bash-completion") + (commit version))) + (file-name (git-file-name name version)) + (sha256 + (base32 "0664dihdfvrbxqxy00fw0skdg454njm673ip54qrgkh38vyv5432")))) + (build-system emacs-build-system) + (arguments + (list + #:phases + #~(modify-phases %standard-phases + (add-before 'install 'configure + (lambda* (#:key inputs #:allow-other-keys) + (emacs-substitute-variables "bash-completion.el" + ("bash-completion-prog" + (search-input-file inputs "/bin/bash")))))))) + (inputs (list bash)) + (home-page "https://github.com/szermatt/emacs-bash-completion") + (synopsis "Bash completion for the shell buffer") + (description + "Bash Completion defines dynamic completion hooks for Shell mode and @code{shell-command} prompts that are based on Bash completion.") - (license license:gpl2+)))) + (license license:gpl2+))) (define-public emacs-easy-kill (package