pkgs: add meta attr
Also add more detailed `enable` option descriptions.
This commit is contained in:
@@ -13,19 +13,22 @@ let
|
||||
version = builtins.substring 0 7 src.rev;
|
||||
|
||||
plugins = with nbPython3Packages; {
|
||||
helpme = {};
|
||||
monitor = {};
|
||||
helpme = { description = "Walks you through setting up a c-lightning node, offering advice for common problems"; };
|
||||
monitor = { description = "Helps you analyze the health of your peers and channels"; };
|
||||
prometheus = {
|
||||
description = "Lightning node exporter for the prometheus timeseries server";
|
||||
extraPkgs = [ prometheus_client ];
|
||||
patchRequirements =
|
||||
"--replace prometheus-client==0.6.0 prometheus-client==0.11.0"
|
||||
+ " --replace pyln-client~=0.9.3 pyln-client~=0.10.1";
|
||||
};
|
||||
rebalance = {};
|
||||
rebalance = { description = "Keeps your channels balanced"; };
|
||||
summary = {
|
||||
description = "Prints a summary of the node status";
|
||||
extraPkgs = [ packaging requests ];
|
||||
};
|
||||
zmq = {
|
||||
description = "Publishes notifications via ZeroMQ to configured endpoints";
|
||||
scriptName = "cl-zmq";
|
||||
extraPkgs = [ twisted txzmq ];
|
||||
};
|
||||
@@ -58,6 +61,14 @@ let
|
||||
'';
|
||||
|
||||
passthru.path = "${drv}/${script}";
|
||||
|
||||
meta = with lib; {
|
||||
inherit (plugin) description;
|
||||
homepage = "https://github.com/lightningd/plugins";
|
||||
license = licenses.bsd3;
|
||||
maintainers = with maintainers; [ nixbitcoin earvstedt ];
|
||||
platforms = platforms.unix;
|
||||
};
|
||||
};
|
||||
in drv;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user