nixpkgs/pkgs/by-name/nl/nls/package.nix
stuebinm ff1a94e523 treewide: add meta.mainProgram to packages with a single binary
The nixpkgs-unstable channel's programs.sqlite was used to identify
packages producing exactly one binary, and these automatically added
to their package definitions wherever possible.
2024-03-19 03:14:51 +01:00

23 lines
576 B
Nix

{ symlinkJoin
, nickel
}:
symlinkJoin {
name = "nls-${nickel.version}";
pname = "nls";
inherit (nickel) version;
paths = [ nickel.nls ];
meta = {
inherit (nickel.meta) homepage changelog license maintainers;
description = "A language server for the Nickel programming language";
mainProgram = "nls";
longDescription = ''
The Nickel Language Server (NLS) is a language server for the Nickel
programming language. NLS offers error messages, type hints, and
auto-completion right in your favorite LSP-enabled editor.
'';
};
}