···11+{ lib
22+, rustPlatform
33+, nickel
44+}:
55+66+rustPlatform.buildRustPackage {
77+ pname = "nls";
88+99+ inherit (nickel) src version;
1010+1111+ cargoHash = "sha256-tahSuSc16oUUjeBBAnTDAiSaLr0zMKgN/XvypXqvvxw=";
1212+1313+ cargoBuildFlags = [ "-p nickel-lang-lsp" ];
1414+1515+ meta = {
1616+ inherit (nickel.meta) homepage changelog license maintainers;
1717+ description = "A language server for the Nickel programming language";
1818+ longDescription = ''
1919+ The Nickel Language Server (NLS) is a language server for the Nickel
2020+ programming language. NLS offers error messages, type hints, and
2121+ auto-completion right in your favorite LSP-enabled editor.
2222+ '';
2323+ };
2424+}