2023-05-17 14:27:49 +00:00
|
|
|
{ lib
|
|
|
|
, rustPlatform
|
|
|
|
, nickel
|
|
|
|
}:
|
|
|
|
|
|
|
|
rustPlatform.buildRustPackage {
|
|
|
|
pname = "nls";
|
|
|
|
|
2023-07-10 16:15:42 +00:00
|
|
|
inherit (nickel) src version nativeBuildInputs;
|
2023-05-17 14:27:49 +00:00
|
|
|
|
2023-07-10 16:15:42 +00:00
|
|
|
cargoHash = "sha256-UGfc5cr6vl10aCVihOEEZktF8MzT56C9/wSvSQhCiVs=";
|
2023-05-17 14:27:49 +00:00
|
|
|
|
|
|
|
cargoBuildFlags = [ "-p nickel-lang-lsp" ];
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
inherit (nickel.meta) homepage changelog license maintainers;
|
|
|
|
description = "A language server for the Nickel programming language";
|
|
|
|
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.
|
|
|
|
'';
|
|
|
|
};
|
|
|
|
}
|