5e9e1146e1
GitOrigin-RevId: 18036c0be90f4e308ae3ebcab0e14aae0336fe42
28 lines
796 B
Nix
28 lines
796 B
Nix
{ lib
|
|
, rustPlatform
|
|
, nickel
|
|
, stdenv
|
|
}:
|
|
|
|
rustPlatform.buildRustPackage {
|
|
pname = "nls";
|
|
|
|
inherit (nickel) src version nativeBuildInputs;
|
|
|
|
cargoHash = "sha256-UGfc5cr6vl10aCVihOEEZktF8MzT56C9/wSvSQhCiVs=";
|
|
|
|
cargoBuildFlags = [ "-p nickel-lang-lsp" ];
|
|
|
|
# Disable checks on Darwin because of issue described in https://github.com/tweag/nickel/pull/1454
|
|
doCheck = !stdenv.isDarwin;
|
|
|
|
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.
|
|
'';
|
|
};
|
|
}
|