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