nixpkgs/pkgs/servers/irc/ngircd/default.nix
stuebinm ff1a94e523 treewide: add meta.mainProgram to packages with a single binary
The nixpkgs-unstable channel's programs.sqlite was used to identify
packages producing exactly one binary, and these automatically added
to their package definitions wherever possible.
2024-03-19 03:14:51 +01:00

31 lines
698 B
Nix

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