guix-devel
[Top][All Lists]
Advanced

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

[PATCH] gnu: Add ircii.


From: ng0
Subject: [PATCH] gnu: Add ircii.
Date: Mon, 01 Aug 2016 19:34:49 +0000

From fed474bfe97d68f9311213a6b05641bea5d5c858 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 | 55 ++++++++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 55 insertions(+)

diff --git a/gnu/packages/irc.scm b/gnu/packages/irc.scm
index 03f014a..c4ed9ed 100644
--- a/gnu/packages/irc.scm
+++ b/gnu/packages/irc.scm
@@ -194,3 +194,58 @@ 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"))
+             (modules '((guix build utils)))
+             (snippet
+              '(begin
+                 (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"))))))
+    (build-system gnu-build-system)
+    (arguments
+     `(#:phases
+       (modify-phases %standard-phases
+         (replace 'configure
+           (lambda* (#:key inputs outputs #:allow-other-keys)
+             (let ((out (assoc-ref outputs "out"))
+                   (ncurses (assoc-ref inputs "ncurses"))
+                   (openssl (assoc-ref inputs "openssl")))
+               (setenv "CONFIG_SHELL" (which "bash"))
+               (zero?
+                (system* "./configure"
+                         ;; TODO: find a socks4+5 lib with small size
+                         ;; (string-append "--with-socks5=" ghc-socks)
+                         (string-append "--prefix=" out)
+                         (string-append "--enable-ipv6")
+                         (string-append "--with-openssl=" openssl)
+                         (string-append "--with-emacs-meta-keys"))))))
+         (delete 'check))))
+    (inputs
+     `(("libiconv" ,libiconv)
+       ("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

Attachment: signature.asc
Description: PGP signature


reply via email to

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