gnu: kakoune: Update to 2021.11.08.

* gnu/packages/text-editors.scm (kakoune)[version]: Update to 2021.11.08.
[arguments]<#:phases>: Remove unnecessary phase 'chdir and drop deprecated #t
return value.
[native-inputs]: Drop ruby and asciidoc, which are not used during build.
This commit is contained in:
Lars-Dominik Braun 2022-07-14 10:28:00 +02:00
parent 692c2ad327
commit 56136cfc30
No known key found for this signature in database
GPG key ID: F663943E08D8092A

View file

@ -167,7 +167,7 @@ (define-public vis
(define-public kakoune
(package
(name "kakoune")
(version "2021.08.28")
(version "2021.11.08")
(source
(origin
(method url-fetch)
@ -175,7 +175,7 @@ (define-public kakoune
"releases/download/v" version "/"
"kakoune-" version ".tar.bz2"))
(sha256
(base32 "1jvn4b9rma5jjvg3xz8nf224pbq3ry570j6qvc834wn5v3gxfvkg"))))
(base32 "1x5mvmpf0rgmr2xdw5wjn4hr6qd8yvj0zx588fi324x1knfqhc5a"))))
(build-system gnu-build-system)
(arguments
`(#:make-flags
@ -191,14 +191,9 @@ (define-public kakoune
(substitute* "src/shell_manager.cc"
(("if \\(m_shell.empty\\(\\)\\)" line)
(string-append "m_shell = \"" (which "sh")
"\";\n " line)))
#t))
(delete 'configure) ; no configure script
;; kakoune requires us to be in the src/ directory to build.
(add-before 'build 'chdir
(lambda _ (chdir "src") #t)))))
(native-inputs
(list asciidoc pkg-config ruby))
"\";\n " line)))))
(delete 'configure)))) ; no configure script
(native-inputs (list pkg-config))
(synopsis "Vim-inspired code editor")
(description
"Kakoune is a code editor heavily inspired by Vim, as such most of its