···1+{ lib
2+, rustPlatform
3+, nickel
4+}:
5+6+rustPlatform.buildRustPackage {
7+ pname = "nls";
8+9+ inherit (nickel) src version;
10+11+ cargoHash = "sha256-tahSuSc16oUUjeBBAnTDAiSaLr0zMKgN/XvypXqvvxw=";
12+13+ cargoBuildFlags = [ "-p nickel-lang-lsp" ];
14+15+ meta = {
16+ inherit (nickel.meta) homepage changelog license maintainers;
17+ description = "A language server for the Nickel programming language";
18+ longDescription = ''
19+ The Nickel Language Server (NLS) is a language server for the Nickel
20+ programming language. NLS offers error messages, type hints, and
21+ auto-completion right in your favorite LSP-enabled editor.
22+ '';
23+ };
24+}