Ricardo Wurmus <rek...@elephly.net> writes: > Why is this needed? Did you try using #:configure-flags instead of > replacing the configure phase? You can refer to inputs with > “%build-inputs” there. > > ~~ Ricardo >
Thanks, README made me try with ./configure --switches first. Fixed in this version. I'm still testing why I can only connect to chat.freenode.net:6667 and /SERVER chat.freenode.net:6697 fails. I guess it might be fixed in the "nightly" build they provide in addition to the stable one, but with no version numbers there.
>From f185e9b34922a4c6213ac5af3cd448b43a2d5798 Mon Sep 17 00:00:00 2001 From: ng0 <n...@we.make.ritual.n0.is> 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 | 46 ++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 46 insertions(+) diff --git a/gnu/packages/irc.scm b/gnu/packages/irc.scm index 03f014a..45cc581 100644 --- a/gnu/packages/irc.scm +++ b/gnu/packages/irc.scm @@ -194,3 +194,49 @@ 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: Configure with socks client (ghc-socks is too big). + (arguments + `(#:tests? #f + #:configure-flags (list + (string-append "--prefix=" (assoc-ref %outputs "out")) + "--enable-ipv6" + (string-append "--with-openssl=" + (assoc-ref %build-inputs "openssl")) + "--with-emacs-meta-keys") + #: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