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:
parent
692c2ad327
commit
56136cfc30
|
@ -167,7 +167,7 @@ (define-public vis
|
||||||
(define-public kakoune
|
(define-public kakoune
|
||||||
(package
|
(package
|
||||||
(name "kakoune")
|
(name "kakoune")
|
||||||
(version "2021.08.28")
|
(version "2021.11.08")
|
||||||
(source
|
(source
|
||||||
(origin
|
(origin
|
||||||
(method url-fetch)
|
(method url-fetch)
|
||||||
|
@ -175,7 +175,7 @@ (define-public kakoune
|
||||||
"releases/download/v" version "/"
|
"releases/download/v" version "/"
|
||||||
"kakoune-" version ".tar.bz2"))
|
"kakoune-" version ".tar.bz2"))
|
||||||
(sha256
|
(sha256
|
||||||
(base32 "1jvn4b9rma5jjvg3xz8nf224pbq3ry570j6qvc834wn5v3gxfvkg"))))
|
(base32 "1x5mvmpf0rgmr2xdw5wjn4hr6qd8yvj0zx588fi324x1knfqhc5a"))))
|
||||||
(build-system gnu-build-system)
|
(build-system gnu-build-system)
|
||||||
(arguments
|
(arguments
|
||||||
`(#:make-flags
|
`(#:make-flags
|
||||||
|
@ -191,14 +191,9 @@ (define-public kakoune
|
||||||
(substitute* "src/shell_manager.cc"
|
(substitute* "src/shell_manager.cc"
|
||||||
(("if \\(m_shell.empty\\(\\)\\)" line)
|
(("if \\(m_shell.empty\\(\\)\\)" line)
|
||||||
(string-append "m_shell = \"" (which "sh")
|
(string-append "m_shell = \"" (which "sh")
|
||||||
"\";\n " line)))
|
"\";\n " line)))))
|
||||||
#t))
|
(delete 'configure)))) ; no configure script
|
||||||
(delete 'configure) ; no configure script
|
(native-inputs (list pkg-config))
|
||||||
;; 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))
|
|
||||||
(synopsis "Vim-inspired code editor")
|
(synopsis "Vim-inspired code editor")
|
||||||
(description
|
(description
|
||||||
"Kakoune is a code editor heavily inspired by Vim, as such most of its
|
"Kakoune is a code editor heavily inspired by Vim, as such most of its
|
||||||
|
|
Loading…
Reference in a new issue