cleanup luau-lsp package

This commit is contained in:
cswimr 2025-01-17 19:40:20 -06:00
parent cd0b21cfb3
commit e53658debb
Signed by: cswimr
GPG key ID: 0EC431A8DA8F8087

View file

@ -1,13 +1,13 @@
{ pkgs, lib, ...
}:
pkgs.stdenv.mkDerivation (finalAttrs: {
pkgs.stdenv.mkDerivation rec {
pname = "luau-lsp";
version = "1.38.0";
src = pkgs.fetchFromGitHub {
owner = "JohnnyMorganz";
repo = "luau-lsp";
rev = finalAttrs.version;
rev = version;
hash = "sha256-31EdtCQftxhpp2b7fpM5XqRh+r0rBE/k9SpYEPpGpV0=";
fetchSubmodules = true;
};
@ -32,10 +32,10 @@ pkgs.stdenv.mkDerivation (finalAttrs: {
meta = {
description = "Language Server for Luau";
homepage = "https://github.com/JohnnyMorganz/luau-lsp";
downloadPage = "https://github.com/JohnnyMorganz/luau-lsp/releases/tag/${finalAttrs.version}";
downloadPage = "https://github.com/JohnnyMorganz/luau-lsp/releases/tag/${version}";
license = lib.licenses.mit;
platforms = lib.platforms.linux;
maintainers = with lib.maintainers; [ cswimr ];
mainProgram = "luau-lsp";
};
})
}