5e7c2d6cef
GitOrigin-RevId: f99e5f03cc0aa231ab5950a15ed02afec45ed51a
35 lines
891 B
Nix
35 lines
891 B
Nix
{ 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";
|
|
};
|
|
}
|