nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
1{
2 lib,
3 stdenv,
4 fetchurl,
5 zlib,
6 openssl,
7 pam,
8 libiconv,
9}:
10
11stdenv.mkDerivation rec {
12 pname = "ngircd";
13 version = "27";
14
15 src = fetchurl {
16 url = "https://ngircd.barton.de/pub/ngircd/${pname}-${version}.tar.xz";
17 sha256 = "sha256-aJeIAxndXi5zwckBlhNQn4jrW42qWCGjb7yj14XCR7g=";
18 };
19
20 configureFlags = [
21 "--with-syslog"
22 "--with-zlib"
23 "--with-pam"
24 "--with-openssl"
25 "--enable-ipv6"
26 "--with-iconv"
27 ];
28
29 buildInputs = [
30 zlib
31 pam
32 openssl
33 libiconv
34 ];
35
36 meta = {
37 description = "Next Generation IRC Daemon";
38 mainProgram = "ngircd";
39 homepage = "https://ngircd.barton.de";
40 license = lib.licenses.gpl2Plus;
41 platforms = lib.platforms.all;
42 };
43}