aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages/suckless.scm
diff options
context:
space:
mode:
authorng0 <ng0@libertad.pw>2017-01-12 00:39:29 +0000
committerLeo Famulari <leo@famulari.name>2017-01-13 14:13:03 -0500
commit823d7f536be5511a1bab8b52b29fd8f35a3fae78 (patch)
tree2b79bdf516c1a0793b0a8cedc22492e923459053 /gnu/packages/suckless.scm
parent974ddc21349e7635881cb7ff104f3595639ae3c9 (diff)
downloadguix-823d7f536be5511a1bab8b52b29fd8f35a3fae78.tar
guix-823d7f536be5511a1bab8b52b29fd8f35a3fae78.tar.gz
gnu: Add noice.
* gnu/packages/suckless.scm (noice): New variable. Signed-off-by: Leo Famulari <leo@famulari.name>
Diffstat (limited to 'gnu/packages/suckless.scm')
-rw-r--r--gnu/packages/suckless.scm35
1 files changed, 34 insertions, 1 deletions
diff --git a/gnu/packages/suckless.scm b/gnu/packages/suckless.scm
index 688b4c3398..b52a43f1f2 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)))