guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

08/13: gnu: Add noice.


From: Leo Famulari
Subject: 08/13: gnu: Add noice.
Date: Fri, 13 Jan 2017 19:15:55 +0000 (UTC)

lfam pushed a commit to branch master
in repository guix.

commit 823d7f536be5511a1bab8b52b29fd8f35a3fae78
Author: ng0 <address@hidden>
Date:   Thu Jan 12 00:39:29 2017 +0000

    gnu: Add noice.
    
    * gnu/packages/suckless.scm (noice): New variable.
    
    Signed-off-by: Leo Famulari <address@hidden>
---
 gnu/packages/suckless.scm |   35 ++++++++++++++++++++++++++++++++++-
 1 file changed, 34 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/suckless.scm b/gnu/packages/suckless.scm
index 688b4c3..b52a43f 100644
--- a/gnu/packages/suckless.scm
+++ b/gnu/packages/suckless.scm
@@ -40,7 +40,8 @@
   #:use-module (gnu packages mpd)
   #:use-module (gnu packages linux)
   #:use-module (gnu packages compression)
-  #:use-module (gnu packages cups))
+  #:use-module (gnu packages cups)
+  #:use-module (gnu packages ncurses))
 
 (define-public dwm
   (package
@@ -434,3 +435,35 @@ It has no feature, and does nothing else.  Just set your 
default
 printer in client.conf(5) and start printing.  No need for a local
 cups server to be installed.")
     (license license:wtfpl2)))
+
+(define-public noice
+  (package
+    (name "noice")
+    (version "0.6")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (string-append "http://dl.2f30.org/releases/";
+                           name "-" version ".tar.gz"))
+       (sha256
+        (base32
+         "0ldkbb71z6k4yzj4kpg3s94ijj1c1kx9dfcjz393py09scfyg5hr"))))
+    (build-system gnu-build-system)
+    (arguments
+     `(#:tests? #f ; No tests
+       #:make-flags (list "CC=gcc"
+                          (string-append "PREFIX=" %output))
+       #:phases
+       (modify-phases %standard-phases
+         (delete 'configure) ; No configure script
+         (add-before 'build 'curses
+           (lambda _
+             (substitute* "Makefile"
+               (("lcurses") "lncurses")))))))
+    (inputs
+     `(("ncurses" ,ncurses)))
+    (home-page "http://git.2f30.org/noice/";)
+    (synopsis "Small file browser")
+    (description
+     "Noice is a small curses-based file browser.")
+    (license license:bsd-2)))



reply via email to

[Prev in Thread] Current Thread [Next in Thread]