aboutsummaryrefslogtreecommitdiff
path: root/nixpkgs/pkgs/servers/irc/ngircd/default.nix
blob: ff754a5390c18f630a9114fcaa55cb1f8ca5a184 (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
29
{ stdenv, fetchurl, zlib, openssl, pam, libiconv }:

stdenv.mkDerivation rec {
  pname = "ngircd";
  version = "26";

  src = fetchurl {
    url = "https://ngircd.barton.de/pub/ngircd/${pname}-${version}.tar.xz";
    sha256 = "1ijmv18fa648y7apxb9vp4j9iq6fxq850kz5v36rysaq614cdp2n";
  };

  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;
  };
}