guix-devel
[Top][All Lists]
Advanced

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

Re: [PATCH] gnu: Add ircii.


From: ng0
Subject: Re: [PATCH] gnu: Add ircii.
Date: Fri, 05 Aug 2016 18:27:17 +0000

Leo Famulari <address@hidden> writes:

> On Fri, Aug 05, 2016 at 04:11:38PM +0000, ng0 wrote:
>> Leo Famulari <address@hidden> writes:
>> 
>> > On Fri, Aug 05, 2016 at 03:48:53PM +0000, ng0 wrote:
>> >> It looks like this is not complete yet:
>> >> 
>> >> address@hidden ~$ strace irc
>> >
>> > What should we be looking for in this trace?
>> 
>> Apparently nothing because I did not rtfm enough.
>> 
>> ...
>> export IRCSERVER="SSLIRC/chat.freenode.net:6697"
>> ...
>
> So the package is ready to merge?

>From my perspective yes. We have to add a smaller socks server/library
than ghc-socks, when that is done I can add --with-socks. This patch
clarifies this in a comment.

>From b011897bec126469990a2687795b339b599b102e Mon Sep 17 00:00:00 2001
From: ng0 <address@hidden>
Date: Mon, 1 Aug 2016 19:31:23 +0000
Subject: [PATCH] gnu: Add ircii.

* gnu/packages/irc.scm (ircii): New variable.
---
 gnu/packages/irc.scm | 47 +++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 47 insertions(+)

diff --git a/gnu/packages/irc.scm b/gnu/packages/irc.scm
index 03f014a..11250a3 100644
--- a/gnu/packages/irc.scm
+++ b/gnu/packages/irc.scm
@@ -194,3 +194,50 @@ with a keyboard, though it also supports mouse.  It is 
customizable
 and extensible with plugins and scripts.")
     (home-page "http://www.weechat.org/";)
     (license license:gpl3)))
+
+(define-public ircii
+  (package
+    (name "ircii")
+    (version "20151120")
+    (source (origin
+             (method url-fetch)
+             (uri (string-append "https://ircii.warped.com/";
+                                 name "-" version ".tar.gz"))
+             (sha256
+              (base32
+               "178dc279f5j894qvp96dzz7c0jpryqlcqw5g0dc9yaxg9kgw1lqm"))))
+    (build-system gnu-build-system)
+    ;; TODO: We should package a small socks4/5 library/server to configure
+    ;; ircii with socks client. `ghc-socks' pulls in lots of haskell, which
+    ;; is too big.
+    (arguments
+     `(#:tests? #f
+       #:configure-flags (list
+                          "--enable-ipv6"
+                          "--with-emacs-meta-keys"
+                          (string-append "--with-openssl="
+                                         (assoc-ref %build-inputs "openssl")))
+       #:phases
+       (modify-phases %standard-phases
+         (add-after 'unpack 'patch-bsdinstall-absolute-path-bins
+           (lambda* (#:key inputs #:allow-other-keys)
+             (substitute* "bsdinstall"
+               (("/bin/strip") "strip")
+               (("/bin/cp") "cp")
+               (("/bin/chmod") "chmod")
+               (("/etc/chown") "chown")
+               (("/bin/chgrp") "chgrp")
+               (("/bin/mkdir") "mkdir")
+               (("/bin/rm") "rm")
+               (("/bin/mv") "mv")))))))
+    (inputs
+     `(("ncurses" ,ncurses)
+       ("openssl" ,openssl)))
+    (native-inputs
+     `(("pkg-config" ,pkg-config)
+       ("perl" ,perl)))
+    (home-page "http://www.eterna.com.au/ircii/";)
+    (synopsis "Terminal-based IRC and ICB client")
+    (description
+     "ircII is a terminal based IRC and ICB client for UNIX systems.")
+    (license license:bsd-3)))
-- 
2.9.2

-- 
♥Ⓐ  ng0
Current Keys: https://we.make.ritual.n0.is/ng0.txt
For non-prism friendly talk find me on http://www.psyced.org

reply via email to

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