about summary refs log tree commit diff
path: root/pkgs/applications/networking/znc
diff options
context:
space:
mode:
authorLuca Bruno <lethalman88@gmail.com>2015-07-17 17:51:11 +0200
committerLuca Bruno <lethalman88@gmail.com>2015-07-17 17:51:44 +0200
commit5ec54be2354eb2da52f267f95d6ef6224c7167d0 (patch)
tree6121b0fcf5f0f66ff59d5dc8b795f4f1b0999d91 /pkgs/applications/networking/znc
parent19e5fd60b332a35986f3a3776e47e8e039bbf192 (diff)
downloadnixlib-5ec54be2354eb2da52f267f95d6ef6224c7167d0.tar
nixlib-5ec54be2354eb2da52f267f95d6ef6224c7167d0.tar.gz
nixlib-5ec54be2354eb2da52f267f95d6ef6224c7167d0.tar.bz2
nixlib-5ec54be2354eb2da52f267f95d6ef6224c7167d0.tar.lz
nixlib-5ec54be2354eb2da52f267f95d6ef6224c7167d0.tar.xz
nixlib-5ec54be2354eb2da52f267f95d6ef6224c7167d0.tar.zst
nixlib-5ec54be2354eb2da52f267f95d6ef6224c7167d0.zip
znc: add back 1.4 because xchat does not support TLS
Diffstat (limited to 'pkgs/applications/networking/znc')
-rw-r--r--pkgs/applications/networking/znc/1.4.nix35
1 files changed, 35 insertions, 0 deletions
diff --git a/pkgs/applications/networking/znc/1.4.nix b/pkgs/applications/networking/znc/1.4.nix
new file mode 100644
index 000000000000..fdd02aac0b5e
--- /dev/null
+++ b/pkgs/applications/networking/znc/1.4.nix
@@ -0,0 +1,35 @@
+{ 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-1.4";
+
+  src = fetchurl {
+    url = "http://znc.in/releases/${name}.tar.gz";
+    sha256 = "0lkv58pq4d5lzcyx8v8anzinx0sx0zw0js4jij13jb8qxp88zsc6";
+  };
+
+  buildInputs = [ openssl pkgconfig ]
+    ++ 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 ];
+    license = licenses.asl20;
+    platforms = platforms.unix;
+  };
+}