GNU bug report logs - #26903
[PATCH] gnu: admin: add nnn.

Previous Next

Package: guix-patches;

Reported by: "Ethan R. Jones" <doubleplusgood23 <at> gmail.com>

Date: Sat, 13 May 2017 05:02:01 UTC

Severity: normal

Tags: patch

Done: Marius Bakke <mbakke <at> fastmail.com>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 26903 in the body.
You can then email your comments to 26903 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to guix-patches <at> gnu.org:
bug#26903; Package guix-patches. (Sat, 13 May 2017 05:02:01 GMT) Full text and rfc822 format available.

Acknowledgement sent to "Ethan R. Jones" <doubleplusgood23 <at> gmail.com>:
New bug report received and forwarded. Copy sent to guix-patches <at> gnu.org. (Sat, 13 May 2017 05:02:01 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: "Ethan R. Jones" <doubleplusgood23 <at> gmail.com>
To: guix-patches <at> gnu.org
Cc: "Ethan R. Jones" <doubleplusgood23 <at> gmail.com>
Subject: [PATCH] gnu: admin: add nnn.
Date: Sat, 13 May 2017 01:00:43 -0400
---
 gnu/packages/admin.scm | 51 ++++++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 51 insertions(+)

diff --git a/gnu/packages/admin.scm b/gnu/packages/admin.scm
index ff0431999..d16ef77df 100644
--- a/gnu/packages/admin.scm
+++ b/gnu/packages/admin.scm
@@ -2130,3 +2130,54 @@ logo, or any ASCII file of your choice.  The main purpose of Neofetch is to be
 used in screenshots to show other users what operating system or distribution
 you are running, what theme or icon set you are using, etc.")
     (license license:expat)))
+
+(define-public nnn
+  (package
+    (name "nnn")
+    (version "v1.1")
+    (source (origin
+              (method url-fetch)
+              (uri (string-append "https://github.com/jarun/nnn/"
+                                  "archive/" version ".tar.gz"))
+              (file-name (string-append name "-" version ".tar.gz"))
+              (sha256
+               (base32
+                "1hww4385f81lyy30fx2rb4wchfi79dpgl7yylnfxvf27a4h2mkhm"))))
+    (build-system gnu-build-system)
+    (inputs `(("ncurses" ,ncurses)
+              ("readline" ,readline)))
+    (arguments
+     '(#: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))
+       #: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")
+    (description "nnn is a fork of noice, a blazing-fast lightweight
+terminal file browser with easy keyboard shortcuts for navigation,
+opening files and running tasks.  noice is developed considering
+terminal based systems.  There is no config file and mime associations
+are hard-coded.  However, the incredible user-friendliness and
+speed make it a perfect utility on modern distros.")
+    (license license:bsd-2)))
-- 
2.12.2





Reply sent to Marius Bakke <mbakke <at> fastmail.com>:
You have taken responsibility. (Sat, 13 May 2017 16:00:02 GMT) Full text and rfc822 format available.

Notification sent to "Ethan R. Jones" <doubleplusgood23 <at> gmail.com>:
bug acknowledged by developer. (Sat, 13 May 2017 16:00:03 GMT) Full text and rfc822 format available.

Message #10 received at 26903-done <at> debbugs.gnu.org (full text, mbox):

From: Marius Bakke <mbakke <at> fastmail.com>
To: "Ethan R. Jones" <doubleplusgood23 <at> gmail.com>, 26903-done <at> debbugs.gnu.org
Cc: "Ethan R. Jones" <doubleplusgood23 <at> gmail.com>
Subject: Re: bug#26903: [PATCH] gnu: admin: add nnn.
Date: Sat, 13 May 2017 17:58:57 +0200
[Message part 1 (text/plain, inline)]
Hello Ethan!

Thanks for this patch! I updated the commit message to follow the
ChangeLog-style convention we use, and did some slight editorialisation:

@@ -2134,11 +2134,11 @@ you are running, what theme or icon set you are using, etc.")
 (define-public nnn
   (package
     (name "nnn")
-    (version "v1.1")
+    (version "1.1")
     (source (origin
               (method url-fetch)
               (uri (string-append "https://github.com/jarun/nnn/"
-                                  "archive/" version ".tar.gz"))
+                                  "archive/v" version ".tar.gz"))
               (file-name (string-append name "-" version ".tar.gz"))
               (sha256
                (base32
@@ -2174,10 +2174,9 @@ you are running, what theme or icon set you are using, etc.")
         "CC=gcc")))
     (home-page "https://github.com/jarun/nnn")
     (synopsis "Terminal file browser")
-    (description "nnn is a fork of noice, a blazing-fast lightweight
-terminal file browser with easy keyboard shortcuts for navigation,
-opening files and running tasks.  noice is developed considering
-terminal based systems.  There is no config file and mime associations
-are hard-coded.  However, the incredible user-friendliness and
-speed make it a perfect utility on modern distros.")
+    (description "@command{nnn} is a fork of @command{noice}, a blazing-fast
+lightweight terminal file browser with easy keyboard shortcuts for
+navigation, opening files and running tasks.  There is no config file and
+mime associations are hard-coded.  The incredible user-friendliness and speed
+make it a perfect utility on modern distros.")
     (license license:bsd-2)))

Pushed as a76ca052d6e772164586bb1b4b2b8c69af783666 !
[signature.asc (application/pgp-signature, inline)]

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Sun, 11 Jun 2017 11:24:03 GMT) Full text and rfc822 format available.

This bug report was last modified 8 years and 5 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.