[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
05/08: gnu: nnn: Update to 1.9.
From: |
Tobias Geerinckx-Rice |
Subject: |
05/08: gnu: nnn: Update to 1.9. |
Date: |
Wed, 15 Aug 2018 23:23:05 -0400 (EDT) |
nckx pushed a commit to branch master
in repository guix.
commit eb5a664344fc2078f56085d91f04fa2f38d8d678
Author: Tobias Geerinckx-Rice <address@hidden>
Date: Thu Aug 16 04:16:23 2018 +0200
gnu: nnn: Update to 1.9.
* gnu/packages/admin.scm (nnn): Update to 1.9.
[source]: Switch to proper release tarball.
[native-inputs]: Add pkg-config.
[phases]: Remove ‘patch-curses-lib’ phase & ‘-Wl,-rpath=’ #:make-flags.
---
gnu/packages/admin.scm | 44 +++++++++++++++-----------------------------
1 file changed, 15 insertions(+), 29 deletions(-)
diff --git a/gnu/packages/admin.scm b/gnu/packages/admin.scm
index ad0ca40..07fdc6b 100644
--- a/gnu/packages/admin.scm
+++ b/gnu/packages/admin.scm
@@ -2400,43 +2400,29 @@ you are running, what theme or icon set you are using,
etc.")
(define-public nnn
(package
(name "nnn")
- (version "1.7")
- (source (origin
- (method url-fetch)
- (uri (string-append "https://github.com/jarun/nnn/"
- "archive/v" version ".tar.gz"))
- (file-name (string-append name "-" version ".tar.gz"))
- (sha256
- (base32
- "0z3lqbfx3y1caxvn7yq90b7whwyq2y32zf8kyd976ilbxpxnxqpv"))))
+ (version "1.9")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (string-append "https://github.com/jarun/nnn/releases/download/v"
+ version "/" name "-v" version ".tar.gz"))
+ (sha256
+ (base32 "1d6z12y4rlg4dzhpm30irpq2ak8hjh5zykkp2n7vxnz5m4ki89zp"))))
(build-system gnu-build-system)
- (inputs `(("ncurses" ,ncurses)
- ("readline" ,readline)))
+ (inputs
+ `(("ncurses" ,ncurses)
+ ("readline" ,readline)))
+ (native-inputs
+ `(("pkg-config" ,pkg-config)))
(arguments
- '(#:tests? #f ; no tests
+ '(#:tests? #f ; no tests
#:phases
- ;; We do not provide `ncurses.h' within an `ncursesw'
- ;; sub-directory, so patch the source accordingly. See
- ;; <http://bugs.gnu.org/19018>.
- ;; Thanks to gtypist maintainer.
(modify-phases %standard-phases
- (add-after 'unpack 'patch-curses-lib
- (lambda* (#:key outputs #:allow-other-keys)
- (let ((out (assoc-ref outputs "out")))
- (substitute* "Makefile"
- (("-lncursesw")
- "-lncurses"))
- (substitute* "nnn.c"
- (("ncursesw\\/curses.h")
- "ncurses.h")))
- #t))
- (delete 'configure))
+ (delete 'configure)) ; no configure script
#:make-flags
(list
(string-append "PREFIX="
(assoc-ref %outputs "out"))
- (string-append "-Wl,-rpath="
- %output "/lib")
"CC=gcc")))
(home-page "https://github.com/jarun/nnn")
(synopsis "Terminal file browser")
- branch master updated (4a6785f -> bf43e13), Tobias Geerinckx-Rice, 2018/08/15
- 04/08: gnu: abcde: Update to 2.9.2., Tobias Geerinckx-Rice, 2018/08/15
- 01/08: gnu: igt-gpu-tools: Update to 1.23., Tobias Geerinckx-Rice, 2018/08/15
- 02/08: gnu: igt-gpu-tools: Order inputs., Tobias Geerinckx-Rice, 2018/08/15
- 03/08: gnu: xterm: Update to 335., Tobias Geerinckx-Rice, 2018/08/15
- 06/08: gnu: erlang: Don't use unstable tarball., Tobias Geerinckx-Rice, 2018/08/15
- 07/08: gnu: Use ©., Tobias Geerinckx-Rice, 2018/08/15
- 08/08: gnu: ttf2eot: Return #t from all phases., Tobias Geerinckx-Rice, 2018/08/15
- 05/08: gnu: nnn: Update to 1.9.,
Tobias Geerinckx-Rice <=