pkgs: add meta attr

Also add more detailed `enable` option descriptions.
This commit is contained in:
Erik Arvstedt
2021-12-14 19:51:23 +01:00
parent 602281b132
commit 5ab85cb2a5
17 changed files with 70 additions and 20 deletions

View File

@@ -1,4 +1,4 @@
{ pkgs, makeWrapper }:
{ pkgs, lib, makeWrapper }:
let
inherit (pkgs) nodejs;
nodePackages = import ./composition.nix { inherit pkgs nodejs; };
@@ -12,4 +12,12 @@ nodePackages.package.overrideAttrs (old: {
makeWrapper ${nodejs}/bin/node $out/bin/rtl \
--add-flags $out/lib/node_modules/rtl/rtl
'';
meta = with lib; {
description = "A web interface for LND, c-lightning and Eclair";
homepage = "https://github.com/Ride-The-Lightning/RTL";
license = licenses.mit;
maintainers = with maintainers; [ nixbitcoin earvstedt ];
platforms = platforms.unix;
};
})