systemd-lsp: 0.1.0 -> 2025.07.14

This commit is contained in:
kyehn
2025-09-13 03:00:39 +00:00
parent 2ca437b479
commit 0c1e41a982

View File

@@ -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";