mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-03 20:33:21 +00:00
Merge pull request #250595 from figsoda/rune-ls
This commit is contained in:
commit
162f3748d7
@ -0,0 +1,35 @@
|
||||
{ lib
|
||||
, rustPlatform
|
||||
, fetchCrate
|
||||
, stdenv
|
||||
, darwin
|
||||
}:
|
||||
|
||||
rustPlatform.buildRustPackage rec {
|
||||
pname = "rune-languageserver";
|
||||
version = "0.12.4";
|
||||
|
||||
src = fetchCrate {
|
||||
inherit pname version;
|
||||
hash = "sha256-KVNof5s3hiCabsoypwS22FMyJIPF9aU8HNqVKPNo7Fk=";
|
||||
};
|
||||
|
||||
cargoHash = "sha256-HiydWqOHz4LJJwJTclRlQfOphE1W03HTMjCtqr1XnJs=";
|
||||
|
||||
buildInputs = lib.optionals stdenv.isDarwin [
|
||||
darwin.apple_sdk.frameworks.Security
|
||||
];
|
||||
|
||||
env = {
|
||||
RUNE_VERSION = version;
|
||||
};
|
||||
|
||||
meta = with lib; {
|
||||
description = "A language server for the Rune Language, an embeddable dynamic programming language for Rust";
|
||||
homepage = "https://crates.io/crates/rune-languageserver";
|
||||
changelog = "https://github.com/rune-rs/rune/releases/tag/${version}";
|
||||
license = with licenses; [ asl20 mit ];
|
||||
maintainers = with maintainers; [ figsoda ];
|
||||
mainProgram = "rune-languageserver";
|
||||
};
|
||||
}
|
@ -18480,6 +18480,8 @@ with pkgs;
|
||||
|
||||
ruff-lsp = python3Packages.callPackage ../development/tools/language-servers/ruff-lsp { };
|
||||
|
||||
rune-languageserver = callPackage ../development/tools/language-servers/rune-languageserver { };
|
||||
|
||||
svls = callPackage ../development/tools/language-servers/svls { };
|
||||
|
||||
typst-lsp = callPackage ../development/tools/language-servers/typst-lsp { };
|
||||
|
Loading…
Reference in New Issue
Block a user