cdktf-cli: migrate from nodePackages (#448030)

This commit is contained in:
jopejoe1
2025-10-03 09:11:18 +00:00
committed by GitHub
5 changed files with 159 additions and 867 deletions

View File

@@ -0,0 +1,158 @@
{
lib,
stdenv,
buildGoModule,
faketty,
fetchFromGitHub,
fetchYarnDeps,
fixup-yarn-lock,
go,
makeWrapper,
nodejs,
nix-update-script,
patchelf,
removeReferencesTo,
testers,
yarn,
}:
stdenv.mkDerivation (finalAttrs: {
pname = "cdktf-cli";
version = "0.21.0";
src = fetchFromGitHub {
owner = "hashicorp";
repo = "terraform-cdk";
tag = "v${finalAttrs.version}";
hash = "sha256-iqy8j1bqwjSRBOj8kjFtAq9dLiv6dDbJsiFGQUhGW7k=";
};
offlineCache = fetchYarnDeps {
yarnLock = "${finalAttrs.src}/yarn.lock";
hash = "sha256-qGjzy/+u8Ui9aHK0sX3MfYbkj5Cqab4RlhOgrwbEmGs=";
};
hcl2json-go-modules =
(buildGoModule {
pname = "cdktf-hcl2json-go-modules";
inherit (finalAttrs) version src;
modRoot = "packages/@cdktf/hcl2json";
vendorHash = "sha256-OiKPq0CHkOxJaFzgsaNJ02tasvHtHWylmaPRPayJob4=";
proxyVendor = true;
doCheck = false;
env.GOWORK = "off";
}).goModules;
hcltools-go-modules =
(buildGoModule {
pname = "cdktf-hcltools-go-modules";
inherit (finalAttrs) version src;
modRoot = "packages/@cdktf/hcl-tools";
vendorHash = "sha256-orGxkYEQVtTKvXb7/FD/CLwqSINgBQFTF5arbR0xAvE=";
proxyVendor = true;
doCheck = false;
env.GOWORK = "off";
}).goModules;
strictDeps = true;
disallowedReferences = [ go ];
nativeBuildInputs = [
faketty
fixup-yarn-lock
go
makeWrapper
nodejs
patchelf
removeReferencesTo
yarn
];
postPatch = ''
# wasm_exec has moved to lib in newer versions of Go
substituteInPlace packages/@cdktf/hcl-tools/prebuild.sh \
--replace-fail "misc/wasm/wasm_exec.js" "lib/wasm/wasm_exec.js"
substituteInPlace packages/@cdktf/hcl2json/prebuild.sh \
--replace-fail "misc/wasm/wasm_exec.js" "lib/wasm/wasm_exec.js"
'';
preConfigure = ''
export GOCACHE=$TMPDIR/go-cache
export GOPATH=$TMPDIR/go
export GOPROXY=file://${finalAttrs.hcltools-go-modules},file://${finalAttrs.hcl2json-go-modules}
export GOSUMDB=off
# Stop the build from trying to write checkpoints to /var/empty/
export CHECKPOINT_DISABLE=1
'';
configurePhase = ''
runHook preConfigure
export HOME=$(mktemp -d)
yarn config --offline set yarn-offline-mirror $offlineCache
fixup-yarn-lock yarn.lock
yarn --offline --frozen-lockfile --ignore-platform --ignore-scripts --no-progress --non-interactive install
patchShebangs node_modules packages
runHook postConfigure
'';
buildPhase = ''
runHook preBuild
faketty yarn --offline build
runHook postBuild
'';
doCheck = true;
checkPhase = ''
runHook preCheck
# Skip tests that require terraform (unfree)
yarn --offline workspace cdktf-cli test -- \
--testPathIgnorePatterns \
"src/test/cmds/(convert|init).test.ts"
runHook postCheck
'';
installPhase = ''
runHook preInstall
yarn --offline --production install
mkdir -p "$out/lib/node_modules/cdktf-cli"
cp -rL node_modules packages/cdktf-cli/bundle packages/cdktf-cli/package.json "$out/lib/node_modules/cdktf-cli/"
makeWrapper "${lib.getExe nodejs}" "$out/bin/cdktf" \
--add-flags "$out/lib/node_modules/cdktf-cli/bundle/bin/cdktf.js"
runHook postInstall
'';
postInstall = ''
# Go isn't needed at runtime, so remove these to decrease the closure size
remove-references-to -t ${go} \
"$out/lib/node_modules/cdktf-cli/node_modules/@cdktf/hcl-tools/main.wasm" \
"$out/lib/node_modules/cdktf-cli/node_modules/@cdktf/hcl2json/main.wasm"
'';
passthru = {
tests.version = testers.testVersion {
package = finalAttrs.finalPackage;
};
updateScript = nix-update-script { };
};
meta = {
description = "CDK for Terraform CLI";
homepage = "https://github.com/hashicorp/terraform-cdk";
changelog = "https://github.com/hashicorp/terraform-cdk/releases/tag/${finalAttrs.src.tag}";
license = lib.licenses.mpl20;
mainProgram = "cdktf";
maintainers = with lib.maintainers; [ deejayem ];
platforms = lib.platforms.unix;
};
})

View File

@@ -68,6 +68,7 @@ mapAliases {
inherit (pkgs) carbon-now-cli; # added 2023-08-17
inherit (pkgs) carto; # added 2023-08-17
castnow = pkgs.castnow; # added 2023-07-30
inherit (pkgs) cdktf-cli; # added 2025-10-02
inherit (pkgs) clean-css-cli; # added 2023-08-18
inherit (pkgs) clubhouse-cli; # added 2023-08-18
inherit (pkgs) coc-clangd; # added 2024-06-29

View File

@@ -18,7 +18,6 @@
"@webassemblyjs/wast-refmt-1.11.1" = "wast-refmt";
aws-cdk = "cdk";
cdk8s-cli = "cdk8s";
cdktf-cli = "cdktf";
clipboard-cli = "clipboard";
conventional-changelog-cli = "conventional-changelog";
cpy-cli = "cpy";

View File

@@ -21,7 +21,6 @@
, "browserify"
, "browser-sync"
, "cdk8s-cli"
, "cdktf-cli"
, "clipboard-cli"
, "coc-cmake"
, "coc-emmet"

View File

@@ -45331,871 +45331,6 @@ in
bypassCache = true;
reconstructLock = true;
};
cdktf-cli = nodeEnv.buildNodePackage {
name = "cdktf-cli";
packageName = "cdktf-cli";
version = "0.20.11";
src = fetchurl {
url = "https://registry.npmjs.org/cdktf-cli/-/cdktf-cli-0.20.11.tgz";
sha512 = "kqyTemob5ocfKmpEkz+nSo2ULKHz1/j1dj3i6+7Evlcl1SHYBoOCXIJBYIggOPXj93cvEN0fzoaHE6Q8xCUAEg==";
};
dependencies = [
(
sources."@alcalzone/ansi-tokenize-0.1.3"
// {
dependencies = [
sources."ansi-styles-6.2.1"
sources."is-fullwidth-code-point-4.0.0"
];
}
)
sources."@babel/code-frame-7.26.2"
sources."@babel/generator-7.26.3"
sources."@babel/helper-string-parser-7.25.9"
sources."@babel/helper-validator-identifier-7.25.9"
(
sources."@babel/parser-7.26.10"
// {
dependencies = [
sources."@babel/types-7.26.10"
];
}
)
sources."@babel/template-7.25.9"
sources."@babel/types-7.26.3"
(
sources."@cdktf/cli-core-0.20.11"
// {
dependencies = [
(
sources."ansi-escapes-4.3.2"
// {
dependencies = [
sources."type-fest-0.21.3"
];
}
)
sources."auto-bind-4.0.0"
sources."cli-boxes-2.2.1"
sources."cli-cursor-3.1.0"
sources."cli-truncate-2.1.0"
sources."code-excerpt-3.0.0"
sources."convert-to-spaces-1.0.2"
sources."indent-string-4.0.0"
sources."ink-3.2.0"
sources."patch-console-1.0.0"
sources."react-17.0.2"
sources."react-reconciler-0.26.2"
sources."restore-cursor-3.1.0"
sources."scheduler-0.20.2"
sources."semver-7.6.3"
sources."slice-ansi-3.0.0"
sources."type-fest-0.12.0"
sources."utf-8-validate-5.0.10"
sources."uuid-8.3.2"
sources."widest-line-3.1.0"
sources."wrap-ansi-6.2.0"
sources."ws-7.5.10"
];
}
)
(
sources."@cdktf/commons-0.20.11"
// {
dependencies = [
sources."fs-extra-11.2.0"
sources."jsonfile-6.1.0"
sources."universalify-2.0.1"
];
}
)
sources."@cdktf/hcl-tools-0.20.11"
(
sources."@cdktf/hcl2cdk-0.20.11"
// {
dependencies = [
sources."brace-expansion-2.0.1"
sources."glob-10.4.5"
sources."minimatch-9.0.5"
];
}
)
(
sources."@cdktf/hcl2json-0.20.11"
// {
dependencies = [
sources."fs-extra-11.2.0"
sources."jsonfile-6.1.0"
sources."universalify-2.0.1"
];
}
)
sources."@cdktf/node-pty-prebuilt-multiarch-0.10.1-pre.11"
(
sources."@cdktf/provider-generator-0.20.11"
// {
dependencies = [
sources."brace-expansion-2.0.1"
sources."glob-10.4.5"
sources."minimatch-9.0.5"
];
}
)
(
sources."@cdktf/provider-schema-0.20.11"
// {
dependencies = [
sources."fs-extra-11.2.0"
sources."jsonfile-6.1.0"
sources."universalify-2.0.1"
];
}
)
(
sources."@inquirer/checkbox-1.5.2"
// {
dependencies = [
sources."@inquirer/core-6.0.0"
sources."@types/mute-stream-0.0.4"
sources."@types/node-20.17.24"
sources."ansi-escapes-4.3.2"
sources."signal-exit-4.1.0"
sources."type-fest-0.21.3"
sources."undici-types-6.19.8"
sources."wrap-ansi-6.2.0"
];
}
)
(
sources."@inquirer/confirm-2.0.17"
// {
dependencies = [
sources."@inquirer/core-6.0.0"
sources."@types/mute-stream-0.0.4"
sources."@types/node-20.17.24"
sources."ansi-escapes-4.3.2"
sources."signal-exit-4.1.0"
sources."type-fest-0.21.3"
sources."undici-types-6.19.8"
sources."wrap-ansi-6.2.0"
];
}
)
(
sources."@inquirer/core-2.3.1"
// {
dependencies = [
sources."@types/node-20.17.24"
sources."ansi-escapes-4.3.2"
sources."type-fest-0.21.3"
sources."undici-types-6.19.8"
sources."wrap-ansi-6.2.0"
];
}
)
(
sources."@inquirer/editor-1.2.15"
// {
dependencies = [
sources."@inquirer/core-6.0.0"
sources."@types/mute-stream-0.0.4"
sources."@types/node-20.17.24"
sources."ansi-escapes-4.3.2"
sources."signal-exit-4.1.0"
sources."type-fest-0.21.3"
sources."undici-types-6.19.8"
sources."wrap-ansi-6.2.0"
];
}
)
(
sources."@inquirer/expand-1.1.16"
// {
dependencies = [
sources."@inquirer/core-6.0.0"
sources."@types/mute-stream-0.0.4"
sources."@types/node-20.17.24"
sources."ansi-escapes-4.3.2"
sources."signal-exit-4.1.0"
sources."type-fest-0.21.3"
sources."undici-types-6.19.8"
sources."wrap-ansi-6.2.0"
];
}
)
(
sources."@inquirer/input-1.2.16"
// {
dependencies = [
sources."@inquirer/core-6.0.0"
sources."@types/mute-stream-0.0.4"
sources."@types/node-20.17.24"
sources."ansi-escapes-4.3.2"
sources."signal-exit-4.1.0"
sources."type-fest-0.21.3"
sources."undici-types-6.19.8"
sources."wrap-ansi-6.2.0"
];
}
)
(
sources."@inquirer/password-1.1.16"
// {
dependencies = [
sources."@inquirer/core-6.0.0"
sources."@types/mute-stream-0.0.4"
sources."@types/node-20.17.24"
sources."ansi-escapes-4.3.2"
sources."signal-exit-4.1.0"
sources."type-fest-0.21.3"
sources."undici-types-6.19.8"
sources."wrap-ansi-6.2.0"
];
}
)
sources."@inquirer/prompts-2.3.1"
(
sources."@inquirer/rawlist-1.2.16"
// {
dependencies = [
sources."@inquirer/core-6.0.0"
sources."@types/mute-stream-0.0.4"
sources."@types/node-20.17.24"
sources."ansi-escapes-4.3.2"
sources."signal-exit-4.1.0"
sources."type-fest-0.21.3"
sources."undici-types-6.19.8"
sources."wrap-ansi-6.2.0"
];
}
)
(
sources."@inquirer/select-1.3.3"
// {
dependencies = [
sources."@inquirer/core-6.0.0"
sources."@types/mute-stream-0.0.4"
sources."@types/node-20.17.24"
sources."ansi-escapes-4.3.2"
sources."signal-exit-4.1.0"
sources."type-fest-0.21.3"
sources."undici-types-6.19.8"
sources."wrap-ansi-6.2.0"
];
}
)
sources."@inquirer/type-1.5.5"
(
sources."@isaacs/cliui-8.0.2"
// {
dependencies = [
sources."ansi-regex-6.1.0"
sources."ansi-styles-6.2.1"
sources."emoji-regex-9.2.2"
sources."string-width-5.1.2"
sources."strip-ansi-7.1.0"
sources."wrap-ansi-8.1.0"
];
}
)
sources."@jridgewell/gen-mapping-0.3.8"
sources."@jridgewell/resolve-uri-3.1.2"
sources."@jridgewell/set-array-1.2.1"
sources."@jridgewell/sourcemap-codec-1.5.0"
sources."@jridgewell/trace-mapping-0.3.25"
sources."@jsii/check-node-1.102.0"
sources."@jsii/spec-1.109.0"
sources."@nodelib/fs.scandir-2.1.5"
sources."@nodelib/fs.stat-2.0.5"
sources."@nodelib/fs.walk-1.2.8"
sources."@sentry-internal/tracing-7.120.1"
sources."@sentry/core-7.120.1"
sources."@sentry/integrations-7.120.1"
sources."@sentry/node-7.120.1"
sources."@sentry/types-7.120.1"
sources."@sentry/utils-7.120.1"
sources."@types/mute-stream-0.0.1"
sources."@types/node-18.19.67"
sources."@types/react-19.0.10"
sources."@types/wrap-ansi-3.0.0"
sources."@types/yauzl-2.10.3"
sources."@types/yoga-layout-1.9.2"
sources."@xmldom/xmldom-0.8.10"
sources."address-1.2.2"
sources."agent-base-6.0.2"
sources."ajv-8.17.1"
sources."ansi-escapes-7.0.0"
sources."ansi-regex-5.0.1"
sources."ansi-styles-4.3.0"
sources."anymatch-3.1.3"
sources."archiver-5.3.2"
(
sources."archiver-utils-2.1.0"
// {
dependencies = [
sources."isarray-1.0.0"
sources."readable-stream-2.3.8"
sources."safe-buffer-5.1.2"
];
}
)
sources."arr-rotate-1.0.0"
sources."array-buffer-byte-length-1.0.2"
sources."astral-regex-2.0.0"
sources."async-3.2.6"
sources."auto-bind-5.0.1"
sources."available-typed-arrays-1.0.7"
sources."balanced-match-1.0.2"
sources."base64-js-1.5.1"
sources."binary-extensions-2.3.0"
sources."bl-4.1.0"
sources."brace-expansion-1.1.11"
sources."braces-3.0.3"
sources."buffer-5.7.1"
sources."buffer-crc32-0.2.13"
sources."bufferutil-4.0.9"
sources."call-bind-1.0.8"
sources."call-bind-apply-helpers-1.0.2"
sources."call-bound-1.0.4"
sources."camelcase-6.3.0"
sources."case-1.6.3"
sources."cdktf-0.20.11"
sources."chalk-4.1.2"
sources."chardet-0.7.0"
sources."chokidar-3.6.0"
sources."chownr-1.1.4"
sources."ci-info-3.9.0"
sources."cli-boxes-3.0.0"
sources."cli-cursor-4.0.0"
sources."cli-spinners-2.9.2"
(
sources."cli-truncate-4.0.0"
// {
dependencies = [
sources."ansi-regex-6.1.0"
sources."ansi-styles-6.2.1"
sources."emoji-regex-10.4.0"
sources."is-fullwidth-code-point-4.0.0"
sources."slice-ansi-5.0.0"
sources."string-width-7.2.0"
sources."strip-ansi-7.1.0"
];
}
)
sources."cli-width-4.1.0"
sources."cliui-8.0.1"
sources."clone-2.1.2"
sources."code-excerpt-4.0.0"
(
sources."codemaker-1.102.0"
// {
dependencies = [
sources."fs-extra-10.1.0"
sources."jsonfile-6.1.0"
sources."universalify-2.0.1"
];
}
)
sources."color-convert-2.0.1"
sources."color-name-1.1.4"
sources."commonmark-0.31.2"
sources."compress-commons-4.1.2"
sources."concat-map-0.0.1"
sources."constructs-10.3.0"
sources."convert-to-spaces-2.0.1"
sources."core-util-is-1.0.3"
sources."crc-32-1.2.2"
sources."crc32-stream-4.0.3"
sources."cross-fetch-3.1.8"
sources."cross-spawn-7.0.6"
sources."csstype-3.1.3"
sources."date-format-4.0.14"
sources."debug-4.4.0"
sources."decamelize-5.0.1"
sources."decompress-response-6.0.0"
sources."deep-equal-2.2.3"
sources."deep-extend-0.6.0"
sources."deepmerge-4.3.1"
sources."define-data-property-1.1.4"
sources."define-properties-1.2.1"
sources."detect-indent-5.0.0"
sources."detect-libc-2.0.3"
sources."detect-newline-2.1.0"
sources."detect-port-1.6.1"
(
sources."downlevel-dts-0.11.0"
// {
dependencies = [
sources."typescript-5.9.0-dev.20250314"
];
}
)
sources."dunder-proto-1.0.1"
sources."eastasianwidth-0.2.0"
sources."emoji-regex-8.0.0"
sources."encoding-0.1.13"
sources."end-of-stream-1.4.4"
sources."entities-3.0.1"
sources."environment-1.1.0"
sources."es-define-property-1.0.1"
sources."es-errors-1.3.0"
sources."es-get-iterator-1.1.3"
sources."es-object-atoms-1.1.1"
sources."es-toolkit-1.33.0"
sources."escalade-3.2.0"
sources."escape-string-regexp-2.0.0"
sources."events-3.3.0"
sources."execa-5.1.1"
sources."expand-template-2.0.3"
(
sources."external-editor-3.1.0"
// {
dependencies = [
sources."iconv-lite-0.4.24"
];
}
)
(
sources."extract-zip-2.0.1"
// {
dependencies = [
sources."get-stream-5.2.0"
];
}
)
sources."fast-deep-equal-3.1.3"
sources."fast-glob-3.3.3"
sources."fast-uri-3.0.6"
sources."fastq-1.19.1"
sources."fd-slicer-1.1.0"
(
sources."figures-3.2.0"
// {
dependencies = [
sources."escape-string-regexp-1.0.5"
];
}
)
sources."fill-range-7.1.1"
sources."find-up-3.0.0"
sources."flatted-3.3.3"
sources."follow-redirects-1.15.9"
sources."for-each-0.3.5"
(
sources."foreground-child-3.3.1"
// {
dependencies = [
sources."signal-exit-4.1.0"
];
}
)
sources."fs-constants-1.0.0"
sources."fs-extra-8.1.0"
sources."fs.realpath-1.0.0"
sources."function-bind-1.1.2"
sources."functions-have-names-1.2.3"
sources."get-caller-file-2.0.5"
sources."get-east-asian-width-1.3.0"
sources."get-intrinsic-1.3.0"
sources."get-proto-1.0.1"
sources."get-stream-6.0.1"
sources."github-from-package-0.0.0"
(
sources."glob-7.2.3"
// {
dependencies = [
sources."minimatch-3.1.2"
];
}
)
sources."glob-parent-5.1.2"
sources."gopd-1.2.0"
sources."graceful-fs-4.2.11"
sources."graphology-0.25.4"
sources."graphology-types-0.24.7"
sources."has-bigints-1.1.0"
sources."has-flag-4.0.0"
sources."has-property-descriptors-1.0.2"
sources."has-symbols-1.1.0"
sources."has-tostringtag-1.0.2"
sources."hasown-2.0.2"
sources."https-proxy-agent-5.0.1"
sources."human-signals-2.1.0"
sources."iconv-lite-0.6.3"
sources."ieee754-1.2.1"
sources."immediate-3.0.6"
sources."indent-string-5.0.0"
sources."inflight-1.0.6"
sources."inherits-2.0.4"
sources."ini-1.3.8"
(
sources."ink-5.2.0"
// {
dependencies = [
sources."ansi-regex-6.1.0"
sources."ansi-styles-6.2.1"
sources."chalk-5.4.1"
sources."emoji-regex-10.4.0"
sources."string-width-7.2.0"
sources."strip-ansi-7.1.0"
sources."wrap-ansi-9.0.0"
];
}
)
(
sources."ink-select-input-4.2.2"
// {
dependencies = [
(
sources."ansi-escapes-4.3.2"
// {
dependencies = [
sources."type-fest-0.21.3"
];
}
)
sources."auto-bind-4.0.0"
sources."cli-boxes-2.2.1"
sources."cli-cursor-3.1.0"
sources."cli-truncate-2.1.0"
sources."code-excerpt-3.0.0"
sources."convert-to-spaces-1.0.2"
sources."indent-string-4.0.0"
sources."ink-3.2.0"
sources."patch-console-1.0.0"
sources."react-17.0.2"
sources."react-reconciler-0.26.2"
sources."restore-cursor-3.1.0"
sources."scheduler-0.20.2"
sources."slice-ansi-3.0.0"
sources."type-fest-0.12.0"
sources."utf-8-validate-5.0.10"
sources."widest-line-3.1.0"
sources."wrap-ansi-6.2.0"
sources."ws-7.5.10"
];
}
)
sources."ink-spinner-4.0.3"
sources."ink-table-3.1.0"
sources."ink-testing-library-2.1.0"
sources."ink-use-stdout-dimensions-1.0.5"
sources."internal-slot-1.1.0"
sources."interpret-1.4.0"
sources."is-arguments-1.2.0"
sources."is-array-buffer-3.0.5"
sources."is-bigint-1.1.0"
sources."is-binary-path-2.1.0"
sources."is-boolean-object-1.2.2"
sources."is-callable-1.2.7"
(
sources."is-ci-2.0.0"
// {
dependencies = [
sources."ci-info-2.0.0"
];
}
)
sources."is-core-module-2.16.1"
sources."is-date-object-1.1.0"
sources."is-docker-2.2.1"
sources."is-extglob-2.1.1"
sources."is-fullwidth-code-point-3.0.0"
sources."is-glob-4.0.3"
sources."is-in-ci-1.0.0"
sources."is-map-2.0.3"
sources."is-number-7.0.0"
sources."is-number-object-1.1.1"
sources."is-regex-1.2.1"
sources."is-set-2.0.3"
sources."is-shared-array-buffer-1.0.4"
sources."is-stream-2.0.1"
sources."is-string-1.1.1"
sources."is-symbol-1.1.1"
sources."is-weakmap-2.0.2"
sources."is-weakset-2.0.4"
sources."is-wsl-2.2.0"
sources."isarray-2.0.5"
sources."isexe-2.0.0"
sources."jackspeak-3.4.3"
sources."js-tokens-4.0.0"
sources."jsesc-3.1.0"
sources."jsii-5.4.31"
(
sources."jsii-pacmak-1.102.0"
// {
dependencies = [
sources."cliui-7.0.4"
sources."escape-string-regexp-4.0.0"
sources."fs-extra-10.1.0"
sources."jsonfile-6.1.0"
sources."universalify-2.0.1"
sources."yargs-16.2.0"
sources."yargs-parser-20.2.9"
];
}
)
(
sources."jsii-reflect-1.109.0"
// {
dependencies = [
sources."@jsii/check-node-1.109.0"
sources."cliui-7.0.4"
sources."fs-extra-10.1.0"
sources."jsonfile-6.1.0"
sources."universalify-2.0.1"
sources."yargs-16.2.0"
sources."yargs-parser-20.2.9"
];
}
)
sources."jsii-rosetta-5.4.30"
sources."json-schema-traverse-1.0.0"
sources."jsonfile-4.0.0"
(
sources."lazystream-1.0.1"
// {
dependencies = [
sources."isarray-1.0.0"
sources."readable-stream-2.3.8"
sources."safe-buffer-5.1.2"
];
}
)
sources."lie-3.1.1"
sources."localforage-1.10.0"
sources."locate-path-3.0.0"
sources."lodash-4.17.21"
sources."lodash.defaults-4.2.0"
sources."lodash.difference-4.5.0"
sources."lodash.flatten-4.4.0"
sources."lodash.isequal-4.5.0"
sources."lodash.isplainobject-4.0.6"
sources."lodash.union-4.6.0"
sources."log4js-6.9.1"
sources."loose-envify-1.4.0"
sources."lru-cache-10.4.3"
sources."math-intrinsics-1.1.0"
sources."mdurl-1.0.1"
sources."merge-stream-2.0.0"
sources."merge2-1.4.1"
sources."micromatch-4.0.8"
sources."mimic-fn-2.1.0"
sources."mimic-response-3.1.0"
(
sources."minimatch-5.1.6"
// {
dependencies = [
sources."brace-expansion-2.0.1"
];
}
)
sources."minimist-1.2.8"
sources."minipass-7.1.2"
sources."mkdirp-classic-0.5.3"
sources."ms-2.1.3"
sources."mute-stream-1.0.0"
sources."nan-2.22.2"
sources."napi-build-utils-2.0.0"
sources."node-abi-3.74.0"
sources."node-fetch-2.7.0"
sources."node-gyp-build-4.8.4"
sources."normalize-path-3.0.0"
sources."npm-run-path-4.0.1"
sources."object-assign-4.1.1"
sources."object-hash-2.2.0"
sources."object-inspect-1.13.4"
sources."object-is-1.1.6"
sources."object-keys-1.1.1"
sources."object.assign-4.1.7"
sources."obliterator-2.0.5"
sources."once-1.4.0"
sources."onetime-5.1.2"
sources."oo-ascii-tree-1.109.0"
sources."open-7.4.2"
sources."os-tmpdir-1.0.2"
sources."p-limit-2.3.0"
sources."p-locate-3.0.0"
sources."p-try-2.2.0"
sources."package-json-from-dist-1.0.1"
sources."parse-gitignore-1.0.1"
sources."patch-console-2.0.0"
sources."path-exists-3.0.0"
sources."path-is-absolute-1.0.1"
sources."path-key-3.1.1"
sources."path-parse-1.0.7"
sources."path-scurry-1.11.1"
sources."pend-1.2.0"
sources."picocolors-1.1.1"
sources."picomatch-2.3.1"
sources."pidtree-0.6.0"
sources."pidusage-3.0.2"
sources."pkg-up-3.1.0"
sources."possible-typed-array-names-1.1.0"
sources."prebuild-install-7.1.3"
sources."prettier-2.8.8"
sources."process-nextick-args-2.0.1"
sources."pump-3.0.2"
sources."queue-microtask-1.2.3"
sources."rc-1.2.8"
sources."react-19.0.0"
(
sources."react-devtools-core-4.28.5"
// {
dependencies = [
sources."utf-8-validate-5.0.10"
sources."ws-7.5.10"
];
}
)
(
sources."react-reconciler-0.29.2"
// {
dependencies = [
sources."react-18.3.1"
];
}
)
sources."readable-stream-3.6.2"
sources."readdir-glob-1.1.3"
sources."readdirp-3.6.0"
sources."rechoir-0.6.2"
sources."regexp.prototype.flags-1.5.4"
sources."require-directory-2.1.1"
sources."require-from-string-2.0.2"
sources."reserved-words-0.1.2"
sources."resolve-1.22.10"
sources."restore-cursor-4.0.0"
sources."reusify-1.1.0"
sources."rfdc-1.4.1"
sources."run-async-3.0.0"
sources."run-parallel-1.2.0"
sources."safe-buffer-5.2.1"
sources."safe-regex-test-1.1.0"
sources."safer-buffer-2.1.2"
sources."sax-1.4.1"
sources."scheduler-0.23.2"
sources."semver-7.7.1"
(
sources."semver-intersect-1.5.0"
// {
dependencies = [
sources."semver-6.3.1"
];
}
)
sources."set-function-length-1.2.2"
sources."set-function-name-2.0.2"
sources."shebang-command-2.0.0"
sources."shebang-regex-3.0.0"
sources."shell-quote-1.8.2"
sources."shelljs-0.8.5"
sources."side-channel-1.1.0"
sources."side-channel-list-1.0.0"
sources."side-channel-map-1.0.1"
sources."side-channel-weakmap-1.0.2"
sources."signal-exit-3.0.7"
sources."simple-concat-1.0.1"
sources."simple-get-4.0.1"
(
sources."slice-ansi-7.1.0"
// {
dependencies = [
sources."ansi-styles-6.2.1"
sources."is-fullwidth-code-point-5.0.0"
];
}
)
sources."sort-json-2.0.1"
sources."spdx-license-list-6.9.0"
sources."sscaff-1.2.274"
sources."stack-utils-2.0.6"
sources."stop-iteration-iterator-1.1.0"
sources."stream-buffers-3.0.3"
sources."stream-chain-2.2.5"
sources."stream-json-1.9.1"
sources."streamroller-3.1.5"
sources."string-width-4.2.3"
sources."string-width-cjs-4.2.3"
(
sources."string_decoder-1.1.1"
// {
dependencies = [
sources."safe-buffer-5.1.2"
];
}
)
sources."strip-ansi-6.0.1"
sources."strip-ansi-cjs-6.0.1"
sources."strip-final-newline-2.0.0"
sources."strip-json-comments-2.0.1"
sources."supports-color-7.2.0"
sources."supports-preserve-symlinks-flag-1.0.0"
sources."tar-fs-2.1.2"
sources."tar-stream-2.2.0"
sources."tmp-0.0.33"
sources."to-regex-range-5.0.1"
sources."tr46-0.0.3"
sources."tunnel-agent-0.6.0"
sources."type-fest-4.37.0"
sources."typescript-5.4.5"
sources."undici-types-5.26.5"
sources."universalify-0.1.2"
sources."utf-8-validate-6.0.5"
sources."util-deprecate-1.0.2"
sources."uuid-9.0.1"
sources."validator-13.12.0"
sources."webidl-conversions-3.0.1"
sources."whatwg-url-5.0.0"
sources."which-2.0.2"
sources."which-boxed-primitive-1.1.1"
sources."which-collection-1.0.2"
sources."which-typed-array-1.1.19"
(
sources."widest-line-5.0.0"
// {
dependencies = [
sources."ansi-regex-6.1.0"
sources."emoji-regex-10.4.0"
sources."string-width-7.2.0"
sources."strip-ansi-7.1.0"
];
}
)
sources."workerpool-6.5.1"
sources."wrap-ansi-7.0.0"
sources."wrap-ansi-cjs-7.0.0"
sources."wrappy-1.0.2"
sources."ws-8.18.1"
sources."xml-js-1.6.11"
sources."xmlbuilder-15.1.1"
sources."xstate-4.38.3"
sources."y18n-5.0.8"
sources."yargs-17.7.2"
sources."yargs-parser-21.1.1"
sources."yauzl-2.10.0"
sources."yoga-layout-3.2.1"
sources."yoga-layout-prebuilt-1.10.0"
(
sources."zip-stream-4.1.1"
// {
dependencies = [
sources."archiver-utils-3.0.4"
];
}
)
sources."zod-3.23.8"
];
buildInputs = globalBuildInputs;
meta = {
description = "CDK for Terraform CLI";
homepage = "https://github.com/hashicorp/terraform-cdk#readme";
license = "MPL-2.0";
};
production = true;
bypassCache = true;
reconstructLock = true;
};
clipboard-cli = nodeEnv.buildNodePackage {
name = "clipboard-cli";
packageName = "clipboard-cli";