Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

40 lines
947 B
Nix
Raw Normal View History

2024-09-24 21:49:30 +03:00
{
lib,
fetchFromGitHub,
rustPlatform,
earthlyls,
nix-update-script,
testers,
}:
rustPlatform.buildRustPackage rec {
pname = "earthlyls";
version = "0.5.3";
src = fetchFromGitHub {
owner = "glehmann";
repo = "earthlyls";
rev = version;
hash = "sha256-wn+6Aa4xTC5o4S+N7snB/vlyw0i23XkmaXUmrhfXuaA=";
};
useFetchCargoVendor = true;
cargoHash = "sha256-Xc1m5WpZEKBP8fGtrQmwHFdqxdQ6wZzgSihSmXnLOhE=";
2024-09-24 21:49:30 +03:00
passthru = {
updateScript = nix-update-script { };
tests.version = testers.testVersion { package = earthlyls; };
};
meta = {
description = "Earthly language server";
homepage = "https://github.com/glehmann/earthlyls";
changelog = "https://github.com/glehmann/earthlyls/releases/tag/${version}";
license = lib.licenses.mit;
mainProgram = "earthlyls";
maintainers = with lib.maintainers; [ paveloom ];
platforms = lib.platforms.linux ++ lib.platforms.darwin;
};
}