summaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorAshish SHUKLA <ashish.is@lostca.se>2026-04-12 14:56:35 +0200
committerCayetano Santos <csantosb@inventati.org>2026-04-13 11:54:36 +0200
commit7d6d1663c48005d795b9707a8ebb55e67b6cf041 (patch)
tree199a5c90f825a462ddfbf8e6508e46aba606d7c6 /gnu
parent9829ea548cd1497f0f450c872169d029a3d44a24 (diff)
gnu: kakoune: Update to 2026.04.12
* gnu/packages/text-editors.scm (kakoune): Update to 2026.04.12. [source]: Switch to git-fetch. [arguments]<#:make-flags, #:phases>: Switch to G-Expressions. [native-inputs]: Delete ’pkg-config. Merges guix/guix!7849 Change-Id: I97133eb3b40211ace854d5bac906092fa94ceb13 Signed-off-by: Cayetano Santos <csantosb@inventati.org> Modified-by: Cayetano Santos <csantosb@inventati.org>
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/text-editors.scm59
1 files changed, 30 insertions, 29 deletions
diff --git a/gnu/packages/text-editors.scm b/gnu/packages/text-editors.scm
index 97790ed983..26cd89a065 100644
--- a/gnu/packages/text-editors.scm
+++ b/gnu/packages/text-editors.scm
@@ -37,7 +37,7 @@
;;; Copyright © 2024 Murilo <murilo@disroot.org>
;;; Copyright © 2025 Ashvith Shetty <ashvithshetty0010@zohomail.in>
;;; Copyright © 2025 Sharlatan Hellseher <sharlatanus@gmail.com>
-;;; Copyright © 2025 Ashish SHUKLA <ashish.is@lostca.se>
+;;; Copyright © 2025, 2026 Ashish SHUKLA <ashish.is@lostca.se>
;;; Copyright © 2025 Marc Coquand <marc@coquand.email>
;;; Copyright © 2025 Andrew Wong <wongandj@icloud.com>
;;; Copyright © 2025 Junker <dk@junkeria.club>
@@ -414,39 +414,40 @@ based command language.")
(define-public kakoune
(package
(name "kakoune")
- (version "2025.06.03")
+ (version "2026.04.12")
(source
(origin
- (method url-fetch)
- (uri (string-append "https://github.com/mawww/kakoune/"
- "releases/download/v" version "/"
- "kakoune-" version ".tar.bz2"))
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/mawww/kakoune/")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
(sha256
- (base32 "16b466anx7gf1jci3gxj87xr5qw9fgyhpc3509myzf6z3cgr9mff"))))
+ (base32 "11c4sgb9k1iahi06i5p6m0qz1qf5hz4g2f1z80di23987bwvbjlv"))))
(build-system gnu-build-system)
(arguments
- `(#:make-flags
- (list (string-append "PREFIX=" (assoc-ref %outputs "out"))
- (string-append "CXX=" ,(cxx-for-target)))
- #:phases
- (modify-phases %standard-phases
- (add-after 'unpack 'patch-source
- (lambda _
- ;; kakoune uses confstr with _CS_PATH to find out where to find
- ;; a posix shell, but this doesn't work in the build
- ;; environment. This substitution just replaces that result
- ;; with the "sh" path.
- (substitute* "src/shell_manager.cc"
- (("if \\(m_shell.empty\\(\\)\\)" line)
- (string-append "m_shell = \"" (which "sh")
- "\";\n " line)))))
- (add-after 'install 'wrap-executable
- (lambda* (#:key inputs outputs #:allow-other-keys)
- (wrap-program (string-append (assoc-ref outputs "out") "/bin/kak")
- `("PATH" ":" prefix
- (,(dirname (search-input-file inputs "bin/perl")))))))
- (delete 'configure)))) ; no configure script
- (native-inputs (list pkg-config))
+ (list
+ #:make-flags
+ #~(list (string-append "PREFIX=" #$output)
+ (string-append "CXX=" #$(cxx-for-target)))
+ #:phases
+ #~(modify-phases %standard-phases
+ (add-after 'unpack 'patch-source
+ (lambda _
+ ;; kakoune uses confstr with _CS_PATH to find out where to find
+ ;; a posix shell, but this doesn't work in the build
+ ;; environment. This substitution just replaces that result
+ ;; with the "sh" path.
+ (substitute* "src/shell_manager.cc"
+ (("if \\(m_shell.empty\\(\\)\\)" line)
+ (string-append "m_shell = \"" (which "sh")
+ "\";\n " line)))))
+ (add-after 'install 'wrap-executable
+ (lambda* (#:key inputs #:allow-other-keys)
+ (wrap-program (string-append #$output "/bin/kak")
+ `("PATH" ":" prefix
+ (,(dirname (search-input-file inputs "bin/perl")))))))
+ (delete 'configure)))) ; no configure script
(inputs (list perl))
(native-search-paths
(list (search-path-specification