koto-ls: init at 0.15.0

This commit is contained in:
Defelo 2025-02-15 14:59:22 +01:00
parent df813fd0e2
commit 594efeee2c
No known key found for this signature in database
GPG Key ID: 2A05272471204DD3

View File

@ -0,0 +1,32 @@
{
lib,
rustPlatform,
fetchFromGitHub,
nix-update-script,
}:
rustPlatform.buildRustPackage rec {
pname = "koto-ls";
version = "0.15.0";
src = fetchFromGitHub {
owner = "koto-lang";
repo = "koto-ls";
tag = "v${version}";
hash = "sha256-6a8xckgpz2/Eb0mQ3ZUL7ywmHA69RMXar/55LUu1UWk=";
};
useFetchCargoVendor = true;
cargoHash = "sha256-sDgLvZcLW2lC0fCMOdSX2OvaqOG1GMfQiwAPit6L2/g=";
passthru.updateScript = nix-update-script { };
meta = {
description = "Language server for Koto";
homepage = "https://github.com/koto-lang/koto-ls";
changelog = "https://github.com/koto-lang/koto-ls/releases/tag/v${version}";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ defelo ];
mainProgram = "koto-ls";
};
}