From mboxrd@z Thu Jan 1 00:00:00 1970 From: David Thompson Subject: [PATCH] gnu: Add znc. Date: Thu, 13 Aug 2015 17:30:38 -0400 Message-ID: <8737zmx4e9.fsf@izanagi.i-did-not-set--mail-host-address--so-tickle-me> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:50081) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZQ05C-0006DT-Lb for guix-devel@gnu.org; Thu, 13 Aug 2015 17:30:44 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZQ05B-00016l-0m for guix-devel@gnu.org; Thu, 13 Aug 2015 17:30:42 -0400 Received: from mail.fsf.org ([208.118.235.13]:53874) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZQ05A-00016d-NU for guix-devel@gnu.org; Thu, 13 Aug 2015 17:30:40 -0400 Received: from [38.88.209.18] (port=60365 helo=izanagi) by mail.fsf.org with esmtpsa (TLS-1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.69) (envelope-from ) id 1ZQ059-0005iB-IZ for guix-devel@gnu.org; Thu, 13 Aug 2015 17:30:40 -0400 List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org To: guix-devel@gnu.org --=-=-= Content-Type: text/x-patch Content-Disposition: inline; filename=0001-gnu-Add-znc.patch >From ea31466a98da2941acad4e76162aa157408b5b35 Mon Sep 17 00:00:00 2001 From: David Thompson 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 --=-=-= Content-Type: text/plain -- David Thompson GPG Key: 0FF1D807 --=-=-=--