1 { lib, stdenv, fetchFromGitHub, znc }:
8 , buildPhase ? "${znc}/bin/znc-buildmod ${module_name}.cpp"
9 , installPhase ? "install -D ${module_name}.so $out/lib/znc/${module_name}.so"
11 }: stdenv.mkDerivation (a // {
15 buildInputs = znc.buildInputs;
17 meta = a.meta // { platforms = lib.platforms.unix; };
18 passthru.module_name = module_name;
24 backlog = zncDerivation rec {
25 pname = "znc-backlog";
26 version = "unstable-2017-06-13";
27 module_name = "backlog";
29 src = fetchFromGitHub {
32 rev = "42e8f439808882d2dae60f2a161eabead14e4b0d";
33 sha256 = "1k7ifpqqzzf2j7w795q4mx1nvmics2higzjqr3mid3lp43sqg5s6";
37 description = "Request backlog for IRC channels";
38 homepage = "https://github.com/fruitiex/znc-backlog/";
39 license = licenses.asl20;
44 clientbuffer = zncDerivation rec {
45 pname = "znc-clientbuffer";
46 version = "unstable-2021-05-30";
47 module_name = "clientbuffer";
49 src = fetchFromGitHub {
50 owner = "CyberShadow";
51 repo = "znc-clientbuffer";
52 rev = "9a7465b413b53408f5d7af86e84b1d08efb6bec0";
53 sha256 = "0a3f4j6s5j7p53y42zrgpqyl2zm0jxb69lp24j6mni3licigh254";
57 description = "ZNC module for client specific buffers";
58 homepage = "https://github.com/CyberShadow/znc-clientbuffer";
59 license = licenses.asl20;
60 maintainers = with maintainers; [ hrdinka szlend cybershadow ];
64 clientaway = zncDerivation rec {
65 pname = "znc-clientaway";
66 version = "unstable-2017-04-28";
67 module_name = "clientaway";
69 src = fetchFromGitHub {
72 rev = "f6724a4a3b16b050088adde0cbeed74f189e5044";
73 sha256 = "0ikd3dzjjlr0gs0ikqfk50msm6mij99ln2rjzqavh58iwzr7n5r8";
77 description = "ZNC clientaway module";
78 homepage = "https://github.com/kylef/znc-contrib";
79 license = licenses.gpl2;
84 fish = zncDerivation rec {
86 version = "unstable-2017-06-26";
89 src = fetchFromGitHub {
90 # this fork works with ZNC 1.7
93 rev = "7d91467dbb195f7b591567911210523c6087662e";
94 sha256 = "1ky5xg17k5f393whrv5iv8zsmdvdyk2f7z5qdsmxcwy3pdxy6vsm";
98 description = "ZNC FiSH module";
99 homepage = "https://github.com/dctrwatson/znc-fish";
100 maintainers = [ lib.maintainers.offline ];
104 ignore = zncDerivation rec {
105 pname = "znc-ignore";
106 version = "unstable-2017-04-28";
107 module_name = "ignore";
109 src = fetchFromGitHub {
111 repo = "znc-contrib";
112 rev = "f6724a4a3b16b050088adde0cbeed74f189e5044";
113 sha256 = "0ikd3dzjjlr0gs0ikqfk50msm6mij99ln2rjzqavh58iwzr7n5r8";
117 description = "ZNC ignore module";
118 homepage = "https://github.com/kylef/znc-contrib";
119 license = licenses.gpl2;
124 palaver = zncDerivation rec {
125 pname = "znc-palaver";
127 module_name = "palaver";
129 src = fetchFromGitHub {
130 owner = "cocodelabs";
131 repo = "znc-palaver";
133 hash = "sha256-8W3uF1PrLQiEZm7JaFrpqmJLSFioa4F4qlM1J6Zua8U=";
137 description = "Palaver ZNC module";
138 homepage = "https://github.com/cocodelabs/znc-palaver";
139 license = licenses.mit;
140 maintainers = with maintainers; [ szlend ];
144 playback = zncDerivation rec {
145 pname = "znc-playback";
146 version = "unstable-2015-08-04";
147 module_name = "playback";
149 src = fetchFromGitHub {
151 repo = "znc-playback";
152 rev = "8691abf75becc1f3d7b5bb5ad68dad17cd21863b";
153 sha256 = "0mgfajljy035051b2sx70i8xrb51zw9q2z64kf85zw1lynihzyh4";
157 description = "Advanced playback module for ZNC";
158 homepage = "https://github.com/jpnurmi/znc-playback";
159 license = licenses.asl20;
160 maintainers = with maintainers; [ hrdinka ];
164 privmsg = zncDerivation rec {
165 pname = "znc-privmsg";
166 version = "unstable-2015-02-22";
167 module_name = "privmsg";
169 src = fetchFromGitHub {
171 repo = "znc-contrib";
172 rev = "9f1f98db56cbbea96d83e6628f657e0d62cd9517";
173 sha256 = "0n82z87gdxxragcaixjc80z8bw4bmfwbk0jrf9zs8kk42phlkkc2";
177 description = "ZNC privmsg module";
178 homepage = "https://github.com/kylef/znc-contrib";
182 push = zncDerivation rec {
184 version = "unstable-2016-10-12";
185 module_name = "push";
187 src = fetchFromGitHub {
190 rev = "cf08b9e0f483f03c28d72dd78df932cbef141f10";
191 sha256 = "0xpwjw8csyrg736g1jc1n8d6804x6kbdkrvldzhk9ldj4iwqz7ay";
195 description = "Push notification service module for ZNC";
196 homepage = "https://github.com/jreese/znc-push";
197 license = lib.licenses.mit;
198 maintainers = with lib.maintainers; [ offline schneefux ];