opentofu-ls: 0-unstable-2025-02-26 -> 0.0.2 (#415582)

This commit is contained in:
Gaétan Lepage
2025-06-10 23:28:41 +02:00
committed by GitHub
2 changed files with 16 additions and 10 deletions
@@ -6,22 +6,23 @@
unstableGitUpdater,
}:
buildGoModule {
pname = "opentofu-ls";
version = "0-unstable-2025-02-26";
buildGoModule (finalAttrs: {
pname = "tofu-ls";
version = "0.0.2";
src = fetchFromGitHub {
owner = "opentofu";
repo = "opentofu-ls";
rev = "978a5fb56519a9f17833709119d2eb5fe604784e";
hash = "sha256-xBJkIuYqqUan2fo+s426vEIr5Qri8dM5arJACvKFjws=";
repo = "tofu-ls";
tag = "v${finalAttrs.version}";
hash = "sha256-ioUhESBnGhVxeJQ+0lZ4tjfCWbc3mS2o584EXuXIqso=";
};
vendorHash = "sha256-CrbLqcwPXHB80m4VhqrC8j5VhU2BUeuNy87+bc+Bq6I=";
vendorHash = "sha256-rUvqIebAhnR9b/RAiW8Md/D8NgDDKro1XodXSCtstjA=";
ldflags = [
"-s"
"-w"
"-X 'main.rawVersion=${finalAttrs.version}'"
];
checkFlags =
@@ -41,15 +42,19 @@ buildGoModule {
__darwinAllowLocalNetworking = true;
nativeInstallCheckInputs = [ versionCheckHook ];
doInstallCheck = true;
versionCheckProgramArg = "--version";
passthru = {
updateScript = unstableGitUpdater { };
};
meta = {
description = "OpenTofu Language Server";
homepage = "https://github.com/opentofu/opentofu-ls";
homepage = "https://github.com/opentofu/tofu-ls";
license = lib.licenses.mpl20;
maintainers = with lib.maintainers; [ GaetanLepage ];
mainProgram = "opentofu-ls";
mainProgram = "tofu-ls";
};
}
})
+1
View File
@@ -1448,6 +1448,7 @@ mapAliases {
openssl_3_0 = openssl_3; # Added 2022-06-27
opensycl = lib.warnOnInstantiate "'opensycl' has been renamed to 'adaptivecpp'" adaptivecpp; # Added 2024-12-04
opensyclWithRocm = lib.warnOnInstantiate "'opensyclWithRocm' has been renamed to 'adaptivecppWithRocm'" adaptivecppWithRocm; # Added 2024-12-04
opentofu-ls = lib.warnOnInstantiate "'opentofu-ls' has been renamed to 'tofu-ls'" tofu-ls; # Added 2025-06-10
openvdb_11 = throw "'openvdb_11' has been removed in favor of the latest version'"; # Added 2025-05-03
opera = throw "'opera' has been removed due to lack of maintenance in nixpkgs"; # Added 2025-05-19
orchis = throw "'orchis' has been renamed to/replaced by 'orchis-theme'"; # Converted to throw 2024-10-17