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/cl-rest \
--add-flags $out/lib/node_modules/c-lightning-rest/cl-rest
'';
meta = with lib; {
description = "REST API for C-Lightning";
homepage = "https://github.com/Ride-The-Lightning/c-lightning-REST";
license = licenses.mit;
maintainers = with maintainers; [ nixbitcoin earvstedt ];
platforms = platforms.unix;
};
})