diff options
author | ng0 <ng0@we.make.ritual.n0.is> | 2016-08-01 19:31:23 +0000 |
---|---|---|
committer | Leo Famulari <leo@famulari.name> | 2016-08-05 15:10:04 -0400 |
commit | c744f5c0ad63e3d104afb04cd4c1d6384a64742d (patch) | |
tree | 78ec684f4118fd996ae169e076bf090f452908e9 /gnu/packages | |
parent | e28e74a518b03de0c5e38f2c3e78ea6fe98a51a0 (diff) | |
download | guix-c744f5c0ad63e3d104afb04cd4c1d6384a64742d.tar.gz |
gnu: Add ircii.
* gnu/packages/irc.scm (ircii): New variable. Signed-off-by: Leo Famulari <leo@famulari.name>
Diffstat (limited to 'gnu/packages')
-rw-r--r-- | gnu/packages/irc.scm | 47 |
1 files changed, 47 insertions, 0 deletions
diff --git a/gnu/packages/irc.scm b/gnu/packages/irc.scm index 03f014aa4e..11250a370f 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))) |