2021-01-11 08:54:33 +01:00
|
|
|
{ lib, stdenv, fetchFromGitHub, znc }:
|
2013-10-30 09:54:40 +01:00
|
|
|
|
|
|
|
let
|
2021-11-10 22:21:47 +01:00
|
|
|
zncDerivation =
|
|
|
|
a@{ pname
|
|
|
|
, src
|
|
|
|
, module_name
|
|
|
|
, buildPhase ? "${znc}/bin/znc-buildmod ${module_name}.cpp"
|
|
|
|
, installPhase ? "install -D ${module_name}.so $out/lib/znc/${module_name}.so"
|
|
|
|
, ...
|
|
|
|
}: stdenv.mkDerivation (a // {
|
|
|
|
inherit buildPhase;
|
|
|
|
inherit installPhase;
|
|
|
|
|
|
|
|
buildInputs = znc.buildInputs;
|
|
|
|
|
|
|
|
meta = a.meta // { platforms = lib.platforms.unix; };
|
|
|
|
passthru.module_name = module_name;
|
|
|
|
});
|
|
|
|
|
|
|
|
in
|
|
|
|
{
|
2013-10-30 09:54:40 +01:00
|
|
|
|
2018-01-26 02:18:23 +01:00
|
|
|
backlog = zncDerivation rec {
|
2021-07-12 12:51:53 +02:00
|
|
|
pname = "znc-backlog";
|
2021-11-10 22:21:47 +01:00
|
|
|
version = "unstable-2017-06-13";
|
2018-01-26 02:18:23 +01:00
|
|
|
module_name = "backlog";
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "FruitieX";
|
|
|
|
repo = "znc-backlog";
|
|
|
|
rev = "42e8f439808882d2dae60f2a161eabead14e4b0d";
|
|
|
|
sha256 = "1k7ifpqqzzf2j7w795q4mx1nvmics2higzjqr3mid3lp43sqg5s6";
|
|
|
|
};
|
|
|
|
|
2021-01-11 08:54:33 +01:00
|
|
|
meta = with lib; {
|
2018-01-26 02:18:23 +01:00
|
|
|
description = "Request backlog for IRC channels.";
|
2020-04-01 03:11:51 +02:00
|
|
|
homepage = "https://github.com/fruitiex/znc-backlog/";
|
2018-01-26 02:18:23 +01:00
|
|
|
license = licenses.asl20;
|
|
|
|
maintainers = with maintainers; [ infinisil ];
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2016-01-12 23:14:23 +01:00
|
|
|
clientbuffer = zncDerivation rec {
|
2021-07-12 12:51:53 +02:00
|
|
|
pname = "znc-clientbuffer";
|
2021-08-29 18:37:35 +02:00
|
|
|
version = "unstable-2021-05-30";
|
2016-01-12 23:14:23 +01:00
|
|
|
module_name = "clientbuffer";
|
|
|
|
|
2016-10-16 11:46:49 +02:00
|
|
|
src = fetchFromGitHub {
|
2020-10-02 14:22:37 +02:00
|
|
|
owner = "CyberShadow";
|
2016-10-16 11:46:49 +02:00
|
|
|
repo = "znc-clientbuffer";
|
2021-08-29 18:37:35 +02:00
|
|
|
rev = "9a7465b413b53408f5d7af86e84b1d08efb6bec0";
|
|
|
|
sha256 = "0a3f4j6s5j7p53y42zrgpqyl2zm0jxb69lp24j6mni3licigh254";
|
2016-01-12 23:14:23 +01:00
|
|
|
};
|
|
|
|
|
2021-01-11 08:54:33 +01:00
|
|
|
meta = with lib; {
|
2016-01-12 23:14:23 +01:00
|
|
|
description = "ZNC module for client specific buffers";
|
2020-10-02 14:22:37 +02:00
|
|
|
homepage = "https://github.com/CyberShadow/znc-clientbuffer";
|
2016-01-12 23:14:23 +01:00
|
|
|
license = licenses.asl20;
|
2020-10-02 14:22:37 +02:00
|
|
|
maintainers = with maintainers; [ hrdinka szlend ];
|
2016-01-12 23:14:23 +01:00
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2019-05-26 06:42:46 +02:00
|
|
|
clientaway = zncDerivation rec {
|
2021-07-12 12:51:53 +02:00
|
|
|
pname = "znc-clientaway";
|
2021-11-10 22:21:47 +01:00
|
|
|
version = "unstable-2017-04-28";
|
2019-05-26 06:42:46 +02:00
|
|
|
module_name = "clientaway";
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "kylef";
|
|
|
|
repo = "znc-contrib";
|
|
|
|
rev = "f6724a4a3b16b050088adde0cbeed74f189e5044";
|
|
|
|
sha256 = "0ikd3dzjjlr0gs0ikqfk50msm6mij99ln2rjzqavh58iwzr7n5r8";
|
|
|
|
};
|
|
|
|
|
2021-01-11 08:54:33 +01:00
|
|
|
meta = with lib; {
|
2019-05-26 06:42:46 +02:00
|
|
|
description = "ZNC clientaway module";
|
2020-04-01 03:11:51 +02:00
|
|
|
homepage = "https://github.com/kylef/znc-contrib";
|
2019-05-26 06:42:46 +02:00
|
|
|
license = licenses.gpl2;
|
|
|
|
maintainers = with maintainers; [ kiwi ];
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2013-10-30 09:54:40 +01:00
|
|
|
fish = zncDerivation rec {
|
2021-07-12 12:51:53 +02:00
|
|
|
pname = "znc-fish";
|
2021-11-10 22:21:47 +01:00
|
|
|
version = "unstable-2017-06-26";
|
2013-10-30 09:54:40 +01:00
|
|
|
module_name = "fish";
|
|
|
|
|
2016-10-16 11:46:49 +02:00
|
|
|
src = fetchFromGitHub {
|
2019-10-06 10:57:00 +02:00
|
|
|
# this fork works with ZNC 1.7
|
|
|
|
owner = "oilslump";
|
2016-10-16 11:46:49 +02:00
|
|
|
repo = "znc-fish";
|
2019-10-06 10:57:00 +02:00
|
|
|
rev = "7d91467dbb195f7b591567911210523c6087662e";
|
|
|
|
sha256 = "1ky5xg17k5f393whrv5iv8zsmdvdyk2f7z5qdsmxcwy3pdxy6vsm";
|
2013-10-30 09:54:40 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "ZNC FiSH module";
|
2020-04-01 03:11:51 +02:00
|
|
|
homepage = "https://github.com/dctrwatson/znc-fish";
|
2021-01-15 14:21:58 +01:00
|
|
|
maintainers = [ lib.maintainers.offline ];
|
2013-10-30 09:54:40 +01:00
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2019-05-26 06:44:43 +02:00
|
|
|
ignore = zncDerivation rec {
|
2021-07-12 12:51:53 +02:00
|
|
|
pname = "znc-ignore";
|
2021-11-10 22:21:47 +01:00
|
|
|
version = "unstable-2017-04-28";
|
2019-05-26 06:44:43 +02:00
|
|
|
module_name = "ignore";
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "kylef";
|
|
|
|
repo = "znc-contrib";
|
|
|
|
rev = "f6724a4a3b16b050088adde0cbeed74f189e5044";
|
|
|
|
sha256 = "0ikd3dzjjlr0gs0ikqfk50msm6mij99ln2rjzqavh58iwzr7n5r8";
|
|
|
|
};
|
|
|
|
|
2021-01-11 08:54:33 +01:00
|
|
|
meta = with lib; {
|
2019-05-26 06:44:43 +02:00
|
|
|
description = "ZNC ignore module";
|
2020-04-01 03:11:51 +02:00
|
|
|
homepage = "https://github.com/kylef/znc-contrib";
|
2019-05-26 06:44:43 +02:00
|
|
|
license = licenses.gpl2;
|
|
|
|
maintainers = with maintainers; [ kiwi ];
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2019-05-26 06:45:51 +02:00
|
|
|
palaver = zncDerivation rec {
|
2021-07-12 12:51:53 +02:00
|
|
|
pname = "znc-palaver";
|
2021-01-18 21:50:31 +01:00
|
|
|
version = "2020-07-18";
|
2019-05-26 06:45:51 +02:00
|
|
|
module_name = "palaver";
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "cocodelabs";
|
|
|
|
repo = "znc-palaver";
|
2021-01-18 21:50:31 +01:00
|
|
|
rev = "825cb6814d64006ca0f85fec23fa0a8a3a2d14ca";
|
|
|
|
sha256 = "zXWPIxhO5Z2L6f+Hf3vIpEh6V4kjUONWAaKexKLECc8=";
|
2019-05-26 06:45:51 +02:00
|
|
|
};
|
|
|
|
|
2021-01-11 08:54:33 +01:00
|
|
|
meta = with lib; {
|
2019-05-26 06:45:51 +02:00
|
|
|
description = "Palaver ZNC module";
|
|
|
|
homepage = "https://github.com/cocodelabs/znc-palaver";
|
|
|
|
license = licenses.mit;
|
2021-01-18 21:49:52 +01:00
|
|
|
maintainers = with maintainers; [ kiwi szlend ];
|
2019-05-26 06:45:51 +02:00
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2016-01-12 23:14:56 +01:00
|
|
|
playback = zncDerivation rec {
|
2021-07-12 12:51:53 +02:00
|
|
|
pname = "znc-playback";
|
2021-11-10 22:21:47 +01:00
|
|
|
version = "unstable-2015-08-04";
|
2016-01-12 23:14:56 +01:00
|
|
|
module_name = "playback";
|
|
|
|
|
2016-10-16 11:46:49 +02:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "jpnurmi";
|
|
|
|
repo = "znc-playback";
|
2016-01-12 23:14:56 +01:00
|
|
|
rev = "8691abf75becc1f3d7b5bb5ad68dad17cd21863b";
|
2016-06-02 13:26:44 +02:00
|
|
|
sha256 = "0mgfajljy035051b2sx70i8xrb51zw9q2z64kf85zw1lynihzyh4";
|
2016-01-12 23:14:56 +01:00
|
|
|
};
|
|
|
|
|
2021-01-11 08:54:33 +01:00
|
|
|
meta = with lib; {
|
2016-01-12 23:14:56 +01:00
|
|
|
description = "An advanced playback module for ZNC";
|
2020-04-01 03:11:51 +02:00
|
|
|
homepage = "https://github.com/jpnurmi/znc-playback";
|
2016-01-12 23:14:56 +01:00
|
|
|
license = licenses.asl20;
|
|
|
|
maintainers = with maintainers; [ hrdinka ];
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2015-01-16 19:00:49 +01:00
|
|
|
privmsg = zncDerivation rec {
|
2021-07-12 12:51:53 +02:00
|
|
|
pname = "znc-privmsg";
|
2021-11-10 22:21:47 +01:00
|
|
|
version = "unstable-2015-02-22";
|
2015-01-16 19:00:49 +01:00
|
|
|
module_name = "privmsg";
|
|
|
|
|
2016-10-16 11:46:49 +02:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "kylef";
|
|
|
|
repo = "znc-contrib";
|
2016-01-12 23:13:43 +01:00
|
|
|
rev = "9f1f98db56cbbea96d83e6628f657e0d62cd9517";
|
|
|
|
sha256 = "0n82z87gdxxragcaixjc80z8bw4bmfwbk0jrf9zs8kk42phlkkc2";
|
2015-01-16 19:00:49 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "ZNC privmsg module";
|
2020-04-01 03:11:51 +02:00
|
|
|
homepage = "https://github.com/kylef/znc-contrib";
|
2015-01-16 19:00:49 +01:00
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2016-01-12 23:11:10 +01:00
|
|
|
push = zncDerivation rec {
|
2021-07-12 12:51:53 +02:00
|
|
|
pname = "znc-push";
|
2021-11-10 22:21:47 +01:00
|
|
|
version = "unstable-2016-10-12";
|
2016-01-12 23:11:10 +01:00
|
|
|
module_name = "push";
|
|
|
|
|
2016-10-16 11:46:49 +02:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "jreese";
|
|
|
|
repo = "znc-push";
|
2016-10-16 11:47:29 +02:00
|
|
|
rev = "cf08b9e0f483f03c28d72dd78df932cbef141f10";
|
|
|
|
sha256 = "0xpwjw8csyrg736g1jc1n8d6804x6kbdkrvldzhk9ldj4iwqz7ay";
|
2016-01-12 23:11:10 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "Push notification service module for ZNC";
|
2020-04-01 03:11:51 +02:00
|
|
|
homepage = "https://github.com/jreese/znc-push";
|
2021-01-15 14:21:58 +01:00
|
|
|
license = lib.licenses.mit;
|
|
|
|
maintainers = with lib.maintainers; [ offline schneefux ];
|
2016-01-12 23:11:10 +01:00
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2013-10-30 09:54:40 +01:00
|
|
|
}
|