Unverified Commit d9e0579e authored by 2kybe3's avatar 2kybe3
Browse files

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
parent 6d0e4aaa
Loading
Loading
Loading
Loading
+2 −9
Original line number Diff line number Diff line
{
  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
Original line number Diff line number Diff line
{
  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";