emmylua_{check,doc_cli}: use version and src from emmylua-ls

think this should be better for r-ryantm so all packages get updated at the same time
This commit is contained in:
2kybe3
2026-04-18 16:25:57 +02:00
parent 6d0e4aaa2c
commit d9e0579ece
2 changed files with 4 additions and 18 deletions
+2 -9
View File
@@ -1,22 +1,15 @@
{
lib,
openssl,
emmylua-ls,
pkg-config,
fetchFromGitHub,
rustPlatform,
versionCheckHook,
nix-update-script,
}:
rustPlatform.buildRustPackage (finalAttrs: {
pname = "emmylua_check";
version = "0.22.0";
src = fetchFromGitHub {
owner = "EmmyLuaLs";
repo = "emmylua-analyzer-rust";
tag = finalAttrs.version;
hash = "sha256-Zj5nLeTH/4sVElYP+erg6bSTX8jFqF7sqiXfaMam8pE=";
};
inherit (emmylua-ls) version src;
nativeBuildInputs = [
pkg-config
+2 -9
View File
@@ -1,19 +1,12 @@
{
fetchFromGitHub,
lib,
emmylua-ls,
rustPlatform,
versionCheckHook,
}:
rustPlatform.buildRustPackage (finalAttrs: {
pname = "emmylua_doc_cli";
version = "0.22.0";
src = fetchFromGitHub {
owner = "EmmyLuaLs";
repo = "emmylua-analyzer-rust";
tag = finalAttrs.version;
hash = "sha256-Zj5nLeTH/4sVElYP+erg6bSTX8jFqF7sqiXfaMam8pE=";
};
inherit (emmylua-ls) version src;
buildAndTestSubdir = "crates/emmylua_doc_cli";