Unverified Commit 490caf2d authored by Gaétan Lepage's avatar Gaétan Lepage Committed by GitHub
Browse files

systemd-lsp: 0.1.0 -> 2025.07.14 (#442538)

parents ba9720c7 0c1e41a9
Loading
Loading
Loading
Loading
+5 −14
Original line number Diff line number Diff line
@@ -3,31 +3,22 @@
  fetchFromGitHub,
  nix-update-script,
  rustPlatform,
  versionCheckHook,
}:

rustPlatform.buildRustPackage (finalAttrs: {
  pname = "systemd-lsp";
  version = "0.1.0";
  version = "2025.07.14";

  src = fetchFromGitHub {
    owner = "JFryy";
    repo = "systemd-lsp";
    rev = "43e0a26b12653b97939612ce8f4e2f3bae562ea1";
    hash = "sha256-l2/8khzXZjyga4nEdl4pcl3AOscCBxZHH3tW3Cv+RUk=";
    tag = "v${finalAttrs.version}";
    hash = "sha256-JjrPgpQ94C01nZ3E1NE88TBzI03YFs+x37edtYStlnc=";
  };

  cargoHash = "sha256-bYksgHTXomeEJuSk800+/PYXzMvrixSjfPnoqxStWAA=";
  cargoHash = "sha256-G1cQWOgtx+Bmi05ji9Z4TBj5pnhglNcfLRoq2zSmyK0=";

  nativeInstallCheckInputs = [ versionCheckHook ];
  versionCheckProgramArg = "--version";
  doInstallCheck = true;

  passthru = {
    updateScript = nix-update-script {
      extraArgs = [ "--version=branch" ];
    };
  };
  passthru.updateScript = nix-update-script { };

  meta = {
    description = "Language server implementation for systemd unit files made in Rust";