unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
* [PATCH] gnu: Add znc.
@ 2015-08-13 21:30 David Thompson
  2015-08-15 16:44 ` Mark H Weaver
  0 siblings, 1 reply; 3+ messages in thread
From: David Thompson @ 2015-08-13 21:30 UTC (permalink / raw)
  To: guix-devel

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: 0001-gnu-Add-znc.patch --]
[-- Type: text/x-patch, Size: 2602 bytes --]

From ea31466a98da2941acad4e76162aa157408b5b35 Mon Sep 17 00:00:00 2001
From: David Thompson <dthompson2@worcester.edu>
Date: Thu, 13 Aug 2015 17:29:35 -0400
Subject: [PATCH] gnu: Add znc.

* gnu/packages/messaging.scm (znc): New variable.
---
 gnu/packages/messaging.scm | 40 ++++++++++++++++++++++++++++++++++++++--
 1 file changed, 38 insertions(+), 2 deletions(-)

diff --git a/gnu/packages/messaging.scm b/gnu/packages/messaging.scm
index 45110f5..7263a38 100644
--- a/gnu/packages/messaging.scm
+++ b/gnu/packages/messaging.scm
@@ -21,7 +21,8 @@
 
 (define-module (gnu packages messaging)
   #:use-module ((guix licenses)
-                #:select (gpl2+ gpl2 lgpl2.1 lgpl2.0+ bsd-2 non-copyleft))
+                #:select (gpl2+ gpl2 lgpl2.1 lgpl2.0+ bsd-2 non-copyleft
+                          asl2.0))
   #:use-module (guix utils)
   #:use-module (guix packages)
   #:use-module (guix download)
@@ -53,7 +54,8 @@
   #:use-module (gnu packages check)
   #:use-module (gnu packages admin)
   #:use-module (gnu packages linux)
-  #:use-module (gnu packages tls))
+  #:use-module (gnu packages tls)
+  #:use-module (gnu packages icu4c))
 
 (define-public libotr
   (package
@@ -357,4 +359,38 @@ If you lose control of your private keys, no previous conversation is
 compromised.")
     (license gpl2)))
 
+(define-public znc
+  (package
+    (name "znc")
+    (version "1.6.1")
+    (source (origin
+              (method url-fetch)
+              (uri (string-append "http://znc.in/releases/znc-"
+                                  version ".tar.gz"))
+              (sha256
+               (base32
+                "0h61nv5kx9k8prmhsffxhlprf7gjcq8vqhjjmqr6v3glcirkjjds"))))
+    (build-system gnu-build-system)
+    (arguments
+     '(#:tests? #f ; tries to download GoogleTest with wget
+       #:configure-flags '("--enable-python"
+                           "--enable-perl"
+                           "--enable-cyrus")))
+    (native-inputs
+     `(("pkg-config" ,pkg-config)
+       ("perl" ,perl)
+       ("python" ,python)))
+    (inputs
+     `(("openssl" ,openssl)
+       ("zlib" ,zlib)
+       ("icu4c" ,icu4c)
+       ("cyrus-sasl" ,cyrus-sasl)))
+    (home-page "http://znc.in")
+    (synopsis "IRC network bouncer")
+    (description "ZNC is an IRC network bouncer or BNC.  It can detach the
+client from the actual IRC server, and also from selected channels.  Multiple
+clients from different locations can connect to a single ZNC account
+simultaneously and therefore appear under the same nickname on IRC.")
+    (license asl2.0)))
+
 ;;; messaging.scm ends here
-- 
2.4.3


[-- Attachment #2: Type: text/plain, Size: 38 bytes --]


-- 
David Thompson
GPG Key: 0FF1D807

^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2015-08-15 17:14 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-08-13 21:30 [PATCH] gnu: Add znc David Thompson
2015-08-15 16:44 ` Mark H Weaver
2015-08-15 17:14   ` Thompson, David

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).