2018-07-21 01:44:44 +01:00
|
|
|
{ stdenv, fetchFromGitHub, znc }:
|
2013-10-30 08:54:40 +00:00
|
|
|
|
|
|
|
let
|
|
|
|
zncDerivation = a@{
|
|
|
|
name, 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;
|
|
|
|
|
2018-10-27 21:50:06 +01:00
|
|
|
buildInputs = znc.buildInputs;
|
|
|
|
|
2013-11-12 12:43:29 +00:00
|
|
|
meta = a.meta // { platforms = stdenv.lib.platforms.unix; };
|
2013-10-30 08:54:40 +00:00
|
|
|
passthru.module_name = module_name;
|
|
|
|
});
|
|
|
|
|
|
|
|
in rec {
|
|
|
|
|
2018-01-26 01:18:23 +00:00
|
|
|
backlog = zncDerivation rec {
|
|
|
|
name = "znc-backlog-${version}";
|
|
|
|
version = "git-2017-06-13";
|
|
|
|
module_name = "backlog";
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "FruitieX";
|
|
|
|
repo = "znc-backlog";
|
|
|
|
rev = "42e8f439808882d2dae60f2a161eabead14e4b0d";
|
|
|
|
sha256 = "1k7ifpqqzzf2j7w795q4mx1nvmics2higzjqr3mid3lp43sqg5s6";
|
|
|
|
};
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "Request backlog for IRC channels.";
|
|
|
|
homepage = https://github.com/fruitiex/znc-backlog/;
|
|
|
|
license = licenses.asl20;
|
|
|
|
maintainers = with maintainers; [ infinisil ];
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2016-01-12 22:14:23 +00:00
|
|
|
clientbuffer = zncDerivation rec {
|
|
|
|
name = "znc-clientbuffer-${version}";
|
|
|
|
version = "git-2015-08-27";
|
|
|
|
module_name = "clientbuffer";
|
|
|
|
|
2016-10-16 10:46:49 +01:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "jpnurmi";
|
|
|
|
repo = "znc-clientbuffer";
|
2016-01-12 22:14:23 +00:00
|
|
|
rev = "fe0f368e1fcab2b89d5c94209822d9b616cea840";
|
2016-06-02 12:26:44 +01:00
|
|
|
sha256 = "1s8bqqlwy9kmcpmavil558rd2b0wigjlzp2lpqpcqrd1cg25g4a7";
|
2016-01-12 22:14:23 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "ZNC module for client specific buffers";
|
|
|
|
homepage = https://github.com/jpnurmi/znc-clientbuffer;
|
|
|
|
license = licenses.asl20;
|
|
|
|
maintainers = with maintainers; [ hrdinka ];
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2013-10-30 08:54:40 +00:00
|
|
|
fish = zncDerivation rec {
|
2016-01-12 22:12:34 +00:00
|
|
|
name = "znc-fish-${version}";
|
|
|
|
version = "git-2014-10-10";
|
2013-10-30 08:54:40 +00:00
|
|
|
module_name = "fish";
|
|
|
|
|
2016-10-16 10:46:49 +01:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
# this fork works with ZNC 1.6
|
|
|
|
owner = "jarrydpage";
|
|
|
|
repo = "znc-fish";
|
2016-01-12 22:12:34 +00:00
|
|
|
rev = "9c580e018a1a08374e814fc06f551281cff827de";
|
|
|
|
sha256 = "0yvs0jkwwp18qxqvw1dvir91ggczz56ka00k0zlsb81csdi8xfvl";
|
2013-10-30 08:54:40 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "ZNC FiSH module";
|
|
|
|
homepage = https://github.com/dctrwatson/znc-fish;
|
|
|
|
maintainers = [ stdenv.lib.maintainers.offline ];
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2016-01-12 22:14:56 +00:00
|
|
|
playback = zncDerivation rec {
|
|
|
|
name = "znc-playback-${version}";
|
|
|
|
version = "git-2015-08-04";
|
|
|
|
module_name = "playback";
|
|
|
|
|
2016-10-16 10:46:49 +01:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "jpnurmi";
|
|
|
|
repo = "znc-playback";
|
2016-01-12 22:14:56 +00:00
|
|
|
rev = "8691abf75becc1f3d7b5bb5ad68dad17cd21863b";
|
2016-06-02 12:26:44 +01:00
|
|
|
sha256 = "0mgfajljy035051b2sx70i8xrb51zw9q2z64kf85zw1lynihzyh4";
|
2016-01-12 22:14:56 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "An advanced playback module for ZNC";
|
|
|
|
homepage = https://github.com/jpnurmi/znc-playback;
|
|
|
|
license = licenses.asl20;
|
|
|
|
maintainers = with maintainers; [ hrdinka ];
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2015-01-16 18:00:49 +00:00
|
|
|
privmsg = zncDerivation rec {
|
2016-01-12 22:13:43 +00:00
|
|
|
name = "znc-privmsg-${version}";
|
|
|
|
version = "git-2015-02-22";
|
2015-01-16 18:00:49 +00:00
|
|
|
module_name = "privmsg";
|
|
|
|
|
2016-10-16 10:46:49 +01:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "kylef";
|
|
|
|
repo = "znc-contrib";
|
2016-01-12 22:13:43 +00:00
|
|
|
rev = "9f1f98db56cbbea96d83e6628f657e0d62cd9517";
|
|
|
|
sha256 = "0n82z87gdxxragcaixjc80z8bw4bmfwbk0jrf9zs8kk42phlkkc2";
|
2015-01-16 18:00:49 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "ZNC privmsg module";
|
|
|
|
homepage = https://github.com/kylef/znc-contrib;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2016-01-12 22:11:10 +00:00
|
|
|
push = zncDerivation rec {
|
|
|
|
name = "znc-push-${version}";
|
2016-10-16 10:47:29 +01:00
|
|
|
version = "git-2016-10-12";
|
2016-01-12 22:11:10 +00:00
|
|
|
module_name = "push";
|
|
|
|
|
2016-10-16 10:46:49 +01:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "jreese";
|
|
|
|
repo = "znc-push";
|
2016-10-16 10:47:29 +01:00
|
|
|
rev = "cf08b9e0f483f03c28d72dd78df932cbef141f10";
|
|
|
|
sha256 = "0xpwjw8csyrg736g1jc1n8d6804x6kbdkrvldzhk9ldj4iwqz7ay";
|
2016-01-12 22:11:10 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "Push notification service module for ZNC";
|
|
|
|
homepage = https://github.com/jreese/znc-push;
|
|
|
|
license = stdenv.lib.licenses.mit;
|
2016-07-31 09:42:44 +01:00
|
|
|
maintainers = with stdenv.lib.maintainers; [ offline schneefux ];
|
2016-01-12 22:11:10 +00:00
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2013-10-30 08:54:40 +00:00
|
|
|
}
|