opentofu-mcp-server: 1.0.0 -> 1.0.0-unstable-2026-06-09, pnpm_8 -> pnpm_10

This commit is contained in:
Jonas Eana
2026-07-03 11:21:15 +02:00
parent da9bfa7f55
commit 45d0a72ba7
+13 -11
View File
@@ -4,15 +4,15 @@
fetchFromGitHub,
fetchPnpmDeps,
nodejs,
nix-update-script,
pnpm_8,
pnpm_10,
pnpmConfigHook,
makeWrapper,
nix-update-script,
}:
stdenv.mkDerivation (finalAttrs: {
pname = "opentofu-mcp-server";
version = "1.0.0";
version = "1.0.0-unstable-2026-06-09";
__structuredAttrs = true;
strictDeps = true;
@@ -20,20 +20,20 @@ stdenv.mkDerivation (finalAttrs: {
src = fetchFromGitHub {
owner = "opentofu";
repo = "opentofu-mcp-server";
tag = "v${finalAttrs.version}";
hash = "sha256-qgjAnoduzAjvxgbgG8QW53CMF3/bW0NQhDbVv3ebntw=";
rev = "59ee379fff12389a25e75dc26768f8602e505a91";
hash = "sha256-pPeqlJ/M7ylD7bniVbw/HqsFkZywHISmzpqsQG0VhoU=";
};
pnpmDeps = fetchPnpmDeps {
inherit (finalAttrs) pname version src;
fetcherVersion = 3;
pnpm = pnpm_8;
hash = "sha256-8U+yGjUtgpASLU5LewUMRFT0uxz45trw27+HH/h+sdA=";
fetcherVersion = 4;
pnpm = pnpm_10;
hash = "sha256-N9+sbSsae1wOmHkOQ1+Km97w7T+BLuZKdskWZs8c4kw=";
};
nativeBuildInputs = [
nodejs
pnpm_8
pnpm_10
pnpmConfigHook
makeWrapper
];
@@ -54,12 +54,14 @@ stdenv.mkDerivation (finalAttrs: {
runHook postInstall
'';
passthru.updateScript = nix-update-script { };
passthru.updateScript = nix-update-script {
extraArgs = [ "--version=branch" ];
};
meta = {
description = "OpenTofu MCP server for accessing the OpenTofu Registry";
homepage = "https://github.com/opentofu/opentofu-mcp-server";
changelog = "https://github.com/opentofu/opentofu-mcp-server/releases/tag/${finalAttrs.src.tag}";
changelog = "https://github.com/opentofu/opentofu-mcp-server/commits/main";
license = lib.licenses.mpl20;
maintainers = with lib.maintainers; [ eana ];
mainProgram = "opentofu-mcp-server";