[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
13/13: gnu: Add lchat.
From: |
Leo Famulari |
Subject: |
13/13: gnu: Add lchat. |
Date: |
Fri, 13 Jan 2017 19:15:55 +0000 (UTC) |
lfam pushed a commit to branch master
in repository guix.
commit 0318305cdb5840e85df751fe682b2e9a78d5002f
Author: ng0 <address@hidden>
Date: Thu Jan 12 00:39:34 2017 +0000
gnu: Add lchat.
* gnu/packages/suckless.scm (lchat): New variable.
Signed-off-by: Leo Famulari <address@hidden>
---
gnu/packages/suckless.scm | 52 ++++++++++++++++++++++++++++++++++++++++++++-
1 file changed, 51 insertions(+), 1 deletion(-)
diff --git a/gnu/packages/suckless.scm b/gnu/packages/suckless.scm
index 13b6b2a..868939b 100644
--- a/gnu/packages/suckless.scm
+++ b/gnu/packages/suckless.scm
@@ -43,7 +43,9 @@
#:use-module (gnu packages compression)
#:use-module (gnu packages cups)
#:use-module (gnu packages ncurses)
- #:use-module (gnu packages gawk))
+ #:use-module (gnu packages gawk)
+ #:use-module (gnu packages base)
+ #:use-module (gnu packages libbsd))
(define-public dwm
(package
@@ -623,3 +625,51 @@ fullrune(s,n) ? chartorune(p,s): 0.
as -1, to be used instead of U+FFFD.
@end itemize\n")
(license license:expat))))
+
+;; No release tarballs so far.
+(define-public lchat
+ (let ((revision "1")
+ (commit "bbde23732f8c7769b982f0c1bda9b99fbf93f932"))
+ (package
+ (name "lchat")
+ (version (string-append "0.0.0-" revision "." (string-take commit 7)))
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/younix/lchat")
+ (commit commit)))
+ (file-name (string-append name "-" version "-checkout"))
+ (sha256
+ (base32
+ "00q3rc0aa5416jvjvrj71x1wnr0331kxhvjjs7pyxgnq4xf36k63"))))
+ (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 'libbsd
+ (lambda _
+ (substitute* "Makefile"
+ (("-lutf") "-lutf -lbsd"))))
+ (replace 'install
+ (lambda* (#:key outputs #:allow-other-keys)
+ (let* ((out (assoc-ref outputs "out"))
+ (bin (string-append out "/bin")))
+ (install-file "lchat" bin)
+ #t))))))
+ (inputs
+ `(("grep" ,grep)
+ ("ncurses" ,ncurses)
+ ("libutf" ,libutf)
+ ("libbsd" ,libbsd)))
+ (home-page "https://github.com/younix/lchat")
+ (synopsis "Line chat is a frontend for the irc client ii from suckless")
+ (description
+ "Lchat (line chat) is the little and small brother of cii.
+It is a front end for ii-like chat programs. It uses tail(1) -f to get the
+chat output in background.")
+ (license license:isc))))
- 08/13: gnu: Add noice., (continued)
- 08/13: gnu: Add noice., Leo Famulari, 2017/01/13
- 03/13: gnu: Add spoon., Leo Famulari, 2017/01/13
- 09/13: gnu: Add human., Leo Famulari, 2017/01/13
- 10/13: gnu: Add fortify-headers., Leo Famulari, 2017/01/13
- 05/13: gnu: Add skroll., Leo Famulari, 2017/01/13
- 06/13: gnu: Add sbm., Leo Famulari, 2017/01/13
- 07/13: gnu: Add prout., Leo Famulari, 2017/01/13
- 04/13: licenses: Add wtfpl2., Leo Famulari, 2017/01/13
- 02/13: gnu: Add wificurse., Leo Famulari, 2017/01/13
- 01/13: gnu: Add xbattmon., Leo Famulari, 2017/01/13
- 13/13: gnu: Add lchat.,
Leo Famulari <=
- 11/13: gnu: Add colors., Leo Famulari, 2017/01/13
- 12/13: gnu: Add libutf., Leo Famulari, 2017/01/13