znc: Update from 1.0 -> 1.2

This commit is contained in:
William A. Kennington III 2014-02-09 21:47:20 -06:00 committed by Bjørn Forsman
parent bf3ca4cb48
commit a4e3f362fe

View File

@ -1,4 +1,4 @@
{stdenv, fetchurl, openssl, pkgconfig
{ stdenv, fetchurl, openssl, pkgconfig
, withPerl ? false, perl
, withPython ? false, python3
, withTcl ? false, tcl
@ -7,10 +7,11 @@
with stdenv.lib;
stdenv.mkDerivation rec {
name = "znc-1.0";
name = "znc-1.2";
src = fetchurl {
url = "http://znc.in/releases/${name}.tar.gz";
sha256 = "0ah6890ngvj97kah3x7fd8yzi6dpdgrxw1b2skj2cyv98bd3jmd8";
sha256 = "07bh306wl5494sqsgz4a526wvyrylkc8vpnbr5pkxwjg90mcv8nr";
};
buildInputs = [ openssl pkgconfig ]
@ -24,11 +25,11 @@ stdenv.mkDerivation rec {
+ optionalString withTcl "--enable-tcl --with-tcl=${tcl}/lib "
+ optionalString withCyrus "--enable-cyrus ";
meta = {
meta = with stdenv.lib; {
description = "Advanced IRC bouncer";
homepage = http://wiki.znc.in/ZNC;
maintainers = [ stdenv.lib.maintainers.viric ];
license = "ASL2.0";
platforms = stdenv.lib.platforms.unix;
maintainers = with maintainers; [ viric ];
license = licenses.asl20;
platforms = platforms.unix;
};
}