guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

53/59: gnu: zsh-autosuggestions: Remove ruby-byebug dependency.


From: guix-commits
Subject: 53/59: gnu: zsh-autosuggestions: Remove ruby-byebug dependency.
Date: Wed, 28 Jun 2023 05:55:19 -0400 (EDT)

cbaines pushed a commit to branch ruby-team
in repository guix.

commit 1d03154d5a0d4079f630986d742e43eb8644df87
Author: Christopher Baines <mail@cbaines.net>
AuthorDate: Wed Jun 28 08:46:49 2023 +0100

    gnu: zsh-autosuggestions: Remove ruby-byebug dependency.
    
    ruby-byebug is for Ruby 2, so it's good to move away from using it.
    
    * gnu/packages/shellutils.scm (zsh-autosuggestions)[native-inputs]: Remove
    ruby-byebug.
    [arguments]: Update style.
---
 gnu/packages/shellutils.scm | 39 +++++++++++++++++++--------------------
 1 file changed, 19 insertions(+), 20 deletions(-)

diff --git a/gnu/packages/shellutils.scm b/gnu/packages/shellutils.scm
index 070613afe1..cbeaa05b3d 100644
--- a/gnu/packages/shellutils.scm
+++ b/gnu/packages/shellutils.scm
@@ -188,33 +188,32 @@ in Zsh intelligently.")
     (build-system gnu-build-system)
     (native-inputs
      (list ruby
-           ruby-byebug
            ruby-pry
            ruby-rspec
            ruby-rspec-wait
            tmux
            zsh))
     (arguments
-     '(#:phases
-       (modify-phases %standard-phases
-         (add-after 'unpack 'patch-tests
-           (lambda _
-             ;; Failing tests since tmux-3.2a
-             (delete-file "spec/options/buffer_max_size_spec.rb")))
-         (delete 'configure)
-         (replace 'check ; Tests use ruby's bundler; instead execute rspec 
directly.
-           (lambda _
-             (setenv "TMUX_TMPDIR" (getenv "TMPDIR"))
-             (setenv "SHELL" (which "zsh"))
-             (invoke "rspec")))
-         (replace 'install
-           (lambda* (#:key outputs #:allow-other-keys)
-             (let* ((out (assoc-ref outputs "out"))
-                    (zsh-plugins
+     (list
+      #:phases
+      #~(modify-phases %standard-phases
+          (add-after 'unpack 'patch-tests
+            (lambda _
+              ;; Failing tests since tmux-3.2a
+              (delete-file "spec/options/buffer_max_size_spec.rb")))
+          (delete 'configure)
+          (replace 'check ; Tests use ruby's bundler; instead execute rspec 
directly.
+            (lambda _
+              (setenv "TMUX_TMPDIR" (getenv "TMPDIR"))
+              (setenv "SHELL" (which "zsh"))
+              (invoke "rspec")))
+          (replace 'install
+            (lambda* (#:key outputs #:allow-other-keys)
+              (let* ((out (assoc-ref outputs "out"))
+                     (zsh-plugins
                       (string-append out 
"/share/zsh/plugins/zsh-autosuggestions")))
-               (invoke "make" "all")
-               (install-file "zsh-autosuggestions.zsh" zsh-plugins)
-               #t))))))
+                (invoke "make" "all")
+                (install-file "zsh-autosuggestions.zsh" zsh-plugins)))))))
     (home-page "https://github.com/zsh-users/zsh-autosuggestions";)
     (synopsis "Fish-like autosuggestions for zsh")
     (description



reply via email to

[Prev in Thread] Current Thread [Next in Thread]