[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
09/31: gnu: kakoune: Update to 2018.04.13.
From: |
Tobias Geerinckx-Rice |
Subject: |
09/31: gnu: kakoune: Update to 2018.04.13. |
Date: |
Mon, 16 Apr 2018 22:49:11 -0400 (EDT) |
nckx pushed a commit to branch master
in repository guix.
commit fbe8ebec9e886074a3897be76eb1929c856eadd2
Author: Tobias Geerinckx-Rice <address@hidden>
Date: Mon Apr 16 20:37:07 2018 +0200
gnu: kakoune: Update to 2018.04.13.
* gnu/packages/text-editors.scm (kakoune): Update to 2018.04.13.
Remove LET binding for the git revision and re-indent accordingly.
[version, source]: Replace the git checkout with new release tarball.
[arguments]: Remove ‘fix-test-permissions’ phase.
[native-inputs]: Add PKG-CONFIG.
---
gnu/packages/text-editors.scm | 94 +++++++++++++++++++++----------------------
1 file changed, 45 insertions(+), 49 deletions(-)
diff --git a/gnu/packages/text-editors.scm b/gnu/packages/text-editors.scm
index 42f65d8..6d8d800 100644
--- a/gnu/packages/text-editors.scm
+++ b/gnu/packages/text-editors.scm
@@ -100,59 +100,55 @@ based command language.")
license:expat)))) ; lexers and libutf.[ch]
(define-public kakoune
- (let ((commit "125c8b7e80995732e0d8c87b82040025748f1b4f")
- (revision "1"))
- (package
- (name "kakoune")
- (version (string-append "0.0.0-" revision "." (string-take commit 7)))
- (source
- (origin
- (file-name (string-append "kakoune-" version "-checkout"))
- (method git-fetch)
- (uri (git-reference
- (url "https://github.com/mawww/kakoune.git")
- (commit commit)))
- (sha256
- (base32
- "19qs99l8r9p1vi5pxxx9an22fvi7xx40qw3jh2cnh2mbacawvdyb"))))
- (build-system gnu-build-system)
- (arguments
- `(#:make-flags (list (string-append "PREFIX=" (assoc-ref %outputs
"out")))
- #: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)))
- #t))
- (delete 'configure)
- ;; kakoune requires us to be in the src/ directory to build
- (add-before 'build 'chdir
- (lambda _ (chdir "src") #t))
- (add-before 'check 'fix-test-permissions
- (lambda _
- ;; Out git downloader doesn't give us write permissions, but
- ;; without them the tests fail.
- (zero? (system* "chmod" "-R" "u+w" "../test")))))))
- (native-inputs `(("asciidoc" ,asciidoc)
- ("ruby" ,ruby)))
- (inputs `(("ncurses" ,ncurses)
- ("boost" ,boost)))
- (synopsis "Vim-inspired code editor")
- (description
- "Kakoune is a code editor heavily inspired by Vim, as such most of its
+ (package
+ (name "kakoune")
+ (version "2018.04.13")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (string-append "https://github.com/mawww/kakoune/"
+ "releases/download/v" version "/"
+ name "-" version ".tar.bz2"))
+ (sha256
+ (base32
+ "1kkzs5nrjxzd1jq7a4k7qfb5kg05871z0r3d9c0yhz9shf6wz36d"))))
+ (build-system gnu-build-system)
+ (arguments
+ `(#:make-flags
+ (list (string-append "PREFIX=" (assoc-ref %outputs "out")))
+ #: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)))
+ #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
+ `(("asciidoc" ,asciidoc)
+ ("pkg-config" ,pkg-config)
+ ("ruby" ,ruby)))
+ (inputs
+ `(("ncurses" ,ncurses)
+ ("boost" ,boost)))
+ (synopsis "Vim-inspired code editor")
+ (description
+ "Kakoune is a code editor heavily inspired by Vim, as such most of its
commands are similar to Vi's ones, and it shares Vi's \"keystrokes as a text
editing language\" model. Kakoune has a strong focus on interactivity, most
commands provide immediate and incremental results, while still being
competitive (as in keystroke count) with Vim.")
- (home-page "http://kakoune.org/")
- (license license:unlicense))))
+ (home-page "http://kakoune.org/")
+ (license license:unlicense)))
(define-public joe
(package
- 03/31: gnu: xmobar: Update to 0.26., (continued)
- 03/31: gnu: xmobar: Update to 0.26., Tobias Geerinckx-Rice, 2018/04/16
- 02/31: gnu: pure: Update to 0.68., Tobias Geerinckx-Rice, 2018/04/16
- 05/31: gnu: i3lock-color: Update to 2.11-c., Tobias Geerinckx-Rice, 2018/04/16
- 04/31: gnu: i3lock-color: Stylistic fixes., Tobias Geerinckx-Rice, 2018/04/16
- 06/31: gnu: miniupnpc: Update to 2.0.20180410., Tobias Geerinckx-Rice, 2018/04/16
- 08/31: gnu: perl-crypt-openssl-random: Update to 0.13., Tobias Geerinckx-Rice, 2018/04/16
- 10/31: gnu: r-lubridate: Update to 1.7.4., Tobias Geerinckx-Rice, 2018/04/16
- 11/31: gnu: r-ade4: Update to 1.7-11., Tobias Geerinckx-Rice, 2018/04/16
- 14/31: gnu: r-matrix: Update to 1.2-14., Tobias Geerinckx-Rice, 2018/04/16
- 13/31: gnu: r-hms: Update to 0.4.2., Tobias Geerinckx-Rice, 2018/04/16
- 09/31: gnu: kakoune: Update to 2018.04.13.,
Tobias Geerinckx-Rice <=
- 21/31: gnu: ruby-instantiator: Update to 0.0.7., Tobias Geerinckx-Rice, 2018/04/16
- 23/31: gnu: loksh: Update to 6.3., Tobias Geerinckx-Rice, 2018/04/16
- 18/31: gnu: ethtool: Update to 4.16., Tobias Geerinckx-Rice, 2018/04/16
- 07/31: gnu: Add perl-crypt-openssl-guess., Tobias Geerinckx-Rice, 2018/04/16
- 24/31: gnu: python-ruamel.yaml: Update to 0.15.37., Tobias Geerinckx-Rice, 2018/04/16
- 28/31: gnu: xterm: Update to 332., Tobias Geerinckx-Rice, 2018/04/16
- 12/31: gnu: r-yaml: Update to 2.1.18., Tobias Geerinckx-Rice, 2018/04/16
- 15/31: gnu: xonsh: Update to 0.6.1., Tobias Geerinckx-Rice, 2018/04/16
- 17/31: gnu: libtorrent-rasterbar: Update to 1.1.7., Tobias Geerinckx-Rice, 2018/04/16
- 30/31: gnu: you-get: Update to 0.4.1060., Tobias Geerinckx-Rice, 2018/04/16