aboutsummaryrefslogtreecommitdiff
path: root/nixpkgs/pkgs/servers/irc/ngircd/default.nix
blob: b564a9b5c9617c4c32a648ce14487a4360b3bb45 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
{ stdenv, fetchurl, zlib, openssl, pam, libiconv }:

stdenv.mkDerivation rec {
  name = "ngircd-25";

  src = fetchurl {
    url = "https://ngircd.barton.de/pub/ngircd/${name}.tar.xz";
    sha256 = "0kpf5qi98m9f833r4rx9n6h9p31biwk798jwc1mgzmix7sp7r6f4";
  };

  configureFlags = [
    "--with-syslog"
    "--with-zlib"
    "--with-pam"
    "--with-openssl"
    "--enable-ipv6"
    "--with-iconv"
  ];

  buildInputs = [ zlib pam openssl libiconv ];

  meta = {
    description = "Next Generation IRC Daemon";
    homepage    = "https://ngircd.barton.de";
    license     = stdenv.lib.licenses.gpl2;
    platforms   = stdenv.lib.platforms.all;
  };
}