mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-14 09:43:14 +00:00
5f8c8e76a3
Semi-automatic update generated by https://github.com/ryantm/nix-update tools. These checks were done: - built on NixOS - ran `/nix/store/z51kkm0wj1wv4bxkib8lv7nqizdly9jw-znc-1.6.6/bin/znc -h` got 0 exit code - ran `/nix/store/z51kkm0wj1wv4bxkib8lv7nqizdly9jw-znc-1.6.6/bin/znc --help` got 0 exit code - ran `/nix/store/z51kkm0wj1wv4bxkib8lv7nqizdly9jw-znc-1.6.6/bin/znc -v` and found version 1.6.6 - ran `/nix/store/z51kkm0wj1wv4bxkib8lv7nqizdly9jw-znc-1.6.6/bin/znc --version` and found version 1.6.6 - ran `/nix/store/z51kkm0wj1wv4bxkib8lv7nqizdly9jw-znc-1.6.6/bin/znc -h` and found version 1.6.6 - ran `/nix/store/z51kkm0wj1wv4bxkib8lv7nqizdly9jw-znc-1.6.6/bin/znc --help` and found version 1.6.6 - found 1.6.6 with grep in /nix/store/z51kkm0wj1wv4bxkib8lv7nqizdly9jw-znc-1.6.6
40 lines
1.0 KiB
Nix
40 lines
1.0 KiB
Nix
{ stdenv, fetchurl, openssl, pkgconfig
|
|
, withPerl ? false, perl
|
|
, withPython ? false, python3
|
|
, withTcl ? false, tcl
|
|
, withCyrus ? true, cyrus_sasl
|
|
}:
|
|
|
|
with stdenv.lib;
|
|
|
|
stdenv.mkDerivation rec {
|
|
name = "znc-${version}";
|
|
version = "1.6.6";
|
|
|
|
src = fetchurl {
|
|
url = "http://znc.in/releases/archive/${name}.tar.gz";
|
|
sha256 = "09cmsnxvi7jg9a0dicf60fxnxdff4aprw7h8vjqlj5ywf6y43f3z";
|
|
};
|
|
|
|
nativeBuildInputs = [ pkgconfig ];
|
|
|
|
buildInputs = [ openssl ]
|
|
++ optional withPerl perl
|
|
++ optional withPython python3
|
|
++ optional withTcl tcl
|
|
++ optional withCyrus cyrus_sasl;
|
|
|
|
configureFlags = optionalString withPerl "--enable-perl "
|
|
+ optionalString withPython "--enable-python "
|
|
+ optionalString withTcl "--enable-tcl --with-tcl=${tcl}/lib "
|
|
+ optionalString withCyrus "--enable-cyrus ";
|
|
|
|
meta = with stdenv.lib; {
|
|
description = "Advanced IRC bouncer";
|
|
homepage = http://wiki.znc.in/ZNC;
|
|
maintainers = with maintainers; [ viric schneefux lnl7 ];
|
|
license = licenses.asl20;
|
|
platforms = platforms.unix;
|
|
};
|
|
}
|