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

This commit is contained in:
Gaétan Lepage
2025-10-08 22:55:00 +00:00
committed by GitHub
+5 -14
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";