diff options
Diffstat (limited to 'nixpkgs/pkgs/servers/irc/ngircd/default.nix')
-rw-r--r-- | nixpkgs/pkgs/servers/irc/ngircd/default.nix | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/nixpkgs/pkgs/servers/irc/ngircd/default.nix b/nixpkgs/pkgs/servers/irc/ngircd/default.nix new file mode 100644 index 000000000000..3ec80a5075e0 --- /dev/null +++ b/nixpkgs/pkgs/servers/irc/ngircd/default.nix @@ -0,0 +1,30 @@ +{ lib, stdenv, fetchurl, zlib, openssl, pam, libiconv }: + +stdenv.mkDerivation rec { + pname = "ngircd"; + version = "26.1"; + + src = fetchurl { + url = "https://ngircd.barton.de/pub/ngircd/${pname}-${version}.tar.xz"; + sha256 = "sha256-VcFv0mAJ9vxqAH3076yHoC4SL2gGEs2hzibhehjYYlQ="; + }; + + configureFlags = [ + "--with-syslog" + "--with-zlib" + "--with-pam" + "--with-openssl" + "--enable-ipv6" + "--with-iconv" + ]; + + buildInputs = [ zlib pam openssl libiconv ]; + + meta = { + description = "Next Generation IRC Daemon"; + mainProgram = "ngircd"; + homepage = "https://ngircd.barton.de"; + license = lib.licenses.gpl2; + platforms = lib.platforms.all; + }; +} |