From 0da9eb2d23dd97cf51525a23ce002b99e1bbaf99 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Robert=20Sch=C3=BCtz?= Date: Sun, 23 Mar 2025 11:40:55 -0700 Subject: [PATCH] nodePackages.orval: drop It fails to build with npm error [esbuild] Trying to download "https://registry.npmjs.org/@esbuild/linux-x64/-/linux-x64-0.25.1.tgz" npm error [esbuild] Failed to download "https://registry.npmjs.org/@esbuild/linux-x64/-/linux-x64-0.25.1.tgz": getaddrinfo EAI_AGAIN registry.npmjs.org npm error /nix/store/5zn96xbis84zx2shc3lk2wxy8ns1qi53-orval-7.7.0/lib/node_modules/orval/node_modules/esbuild/install.js:275 npm error throw new Error(`Failed to install package "${pkg}"`); npm error ^ npm error npm error Error: Failed to install package "@esbuild/linux-x64" npm error at checkAndPreparePackage (/nix/store/5zn96xbis84zx2shc3lk2wxy8ns1qi53-orval-7.7.0/lib/node_modules/orval/node_modules/esbuild/install.js:275:15) npm error at process.processTicksAndRejections (node:internal/process/task_queues:105:5) --- pkgs/development/node-packages/aliases.nix | 1 + .../node-packages/node-packages.json | 1 - .../node-packages/node-packages.nix | 398 ------------------ 3 files changed, 1 insertion(+), 399 deletions(-) diff --git a/pkgs/development/node-packages/aliases.nix b/pkgs/development/node-packages/aliases.nix index c4cbb965fedc..b34df4ed0914 100644 --- a/pkgs/development/node-packages/aliases.nix +++ b/pkgs/development/node-packages/aliases.nix @@ -163,6 +163,7 @@ mapAliases { npm = pkgs.nodejs.overrideAttrs (old: { meta = old.meta // { mainProgram = "npm"; }; }); # added 2024-10-04 inherit (pkgs) npm-check-updates; # added 2023-08-22 ocaml-language-server = throw "ocaml-language-server was removed because it was abandoned upstream"; # added 2023-09-04 + orval = throw "orval has been removed because it was broken"; # added 2025-03-23 parcel = throw "parcel has been removed because it was broken"; # added 2025-03-12 parcel-bundler = self.parcel; # added 2023-09-04 inherit (pkgs) patch-package; # added 2024-06-29 diff --git a/pkgs/development/node-packages/node-packages.json b/pkgs/development/node-packages/node-packages.json index c9f4f3bb20a6..2bfc822cc514 100644 --- a/pkgs/development/node-packages/node-packages.json +++ b/pkgs/development/node-packages/node-packages.json @@ -124,7 +124,6 @@ , "np" , "npm-merge-driver" , "nrm" -, "orval" , "parsoid" , "peerflix" , "peerflix-server" diff --git a/pkgs/development/node-packages/node-packages.nix b/pkgs/development/node-packages/node-packages.nix index 20466e602ec2..a2b0a7206c7a 100644 --- a/pkgs/development/node-packages/node-packages.nix +++ b/pkgs/development/node-packages/node-packages.nix @@ -60139,404 +60139,6 @@ in bypassCache = true; reconstructLock = true; }; - orval = nodeEnv.buildNodePackage { - name = "orval"; - packageName = "orval"; - version = "7.7.0"; - src = fetchurl { - url = "https://registry.npmjs.org/orval/-/orval-7.7.0.tgz"; - sha512 = "P7hwxaMteeiscUBQvA8SjsDdZ14HFRk/e4kynCZEwh0j1A0U2mfSdJ4dUXcjhPWuC0ZgCEbByhay0YguViLfPg=="; - }; - dependencies = [ - sources."@apidevtools/json-schema-ref-parser-11.7.2" - sources."@apidevtools/openapi-schemas-2.1.0" - sources."@apidevtools/swagger-methods-3.0.2" - sources."@apidevtools/swagger-parser-10.1.1" - sources."@asyncapi/specs-6.8.1" - sources."@exodus/schemasafe-1.3.0" - sources."@gerrit0/mini-shiki-1.27.2" - sources."@ibm-cloud/openapi-ruleset-1.29.2" - sources."@ibm-cloud/openapi-ruleset-utilities-1.7.1" - sources."@jsdevtools/ono-7.1.3" - sources."@jsep-plugin/assignment-1.3.0" - sources."@jsep-plugin/regex-1.0.4" - sources."@jsep-plugin/ternary-1.1.4" - sources."@nodelib/fs.scandir-2.1.5" - sources."@nodelib/fs.stat-2.0.5" - sources."@nodelib/fs.walk-1.2.8" - sources."@orval/angular-7.7.0" - sources."@orval/axios-7.7.0" - ( - sources."@orval/core-7.7.0" - // { - dependencies = [ - sources."openapi3-ts-4.4.0" - ]; - } - ) - sources."@orval/fetch-7.7.0" - sources."@orval/hono-7.7.0" - sources."@orval/mock-7.7.0" - sources."@orval/query-7.7.0" - sources."@orval/swr-7.7.0" - sources."@orval/zod-7.7.0" - sources."@shikijs/engine-oniguruma-1.29.2" - sources."@shikijs/types-1.29.2" - sources."@shikijs/vscode-textmate-10.0.2" - sources."@stoplight/better-ajv-errors-1.0.3" - sources."@stoplight/json-3.21.7" - ( - sources."@stoplight/json-ref-readers-1.2.2" - // { - dependencies = [ - sources."tslib-1.14.1" - ]; - } - ) - sources."@stoplight/json-ref-resolver-3.1.6" - sources."@stoplight/ordered-object-literal-1.0.5" - sources."@stoplight/path-1.3.2" - ( - sources."@stoplight/spectral-core-1.19.5" - // { - dependencies = [ - sources."@stoplight/types-13.6.0" - sources."minimatch-3.1.2" - ]; - } - ) - sources."@stoplight/spectral-formats-1.8.2" - sources."@stoplight/spectral-functions-1.9.4" - ( - sources."@stoplight/spectral-parsers-1.0.5" - // { - dependencies = [ - sources."@stoplight/types-14.1.1" - ]; - } - ) - sources."@stoplight/spectral-ref-resolver-1.0.5" - sources."@stoplight/spectral-rulesets-1.21.4" - sources."@stoplight/spectral-runtime-1.1.4" - sources."@stoplight/types-13.20.0" - ( - sources."@stoplight/yaml-4.3.0" - // { - dependencies = [ - sources."@stoplight/types-14.1.1" - ]; - } - ) - sources."@stoplight/yaml-ast-parser-0.0.50" - sources."@types/es-aggregate-error-1.0.6" - sources."@types/hast-3.0.4" - sources."@types/json-schema-7.0.15" - sources."@types/node-22.13.10" - sources."@types/unist-3.0.3" - sources."@types/urijs-1.19.25" - sources."abort-controller-3.0.0" - sources."acorn-8.14.1" - sources."ajv-8.17.1" - sources."ajv-draft-04-1.0.0" - sources."ajv-errors-3.0.0" - sources."ajv-formats-2.1.1" - sources."ansi-colors-4.1.3" - sources."ansi-regex-5.0.1" - sources."ansi-styles-4.3.0" - sources."argparse-2.0.1" - sources."array-buffer-byte-length-1.0.2" - sources."array-union-2.1.0" - sources."arraybuffer.prototype.slice-1.0.4" - sources."astring-1.9.0" - sources."async-function-1.0.0" - sources."available-typed-arrays-1.0.7" - sources."balanced-match-1.0.2" - sources."brace-expansion-1.1.11" - sources."braces-3.0.3" - sources."cac-6.7.14" - sources."call-bind-1.0.8" - sources."call-bind-apply-helpers-1.0.2" - sources."call-bound-1.0.4" - sources."call-me-maybe-1.0.2" - sources."chalk-4.1.2" - sources."chokidar-4.0.3" - sources."cliui-8.0.1" - sources."color-convert-2.0.1" - sources."color-name-1.1.4" - sources."compare-versions-6.1.1" - sources."concat-map-0.0.1" - sources."cross-spawn-7.0.6" - sources."data-view-buffer-1.0.2" - sources."data-view-byte-length-1.0.2" - sources."data-view-byte-offset-1.0.1" - sources."debug-4.4.0" - sources."define-data-property-1.1.4" - sources."define-properties-1.2.1" - sources."dependency-graph-0.11.0" - sources."dir-glob-3.0.1" - sources."dunder-proto-1.0.1" - sources."emoji-regex-8.0.0" - sources."encoding-0.1.13" - sources."enquirer-2.4.1" - sources."entities-4.5.0" - sources."es-abstract-1.23.9" - sources."es-aggregate-error-1.0.13" - sources."es-define-property-1.0.1" - sources."es-errors-1.3.0" - sources."es-object-atoms-1.1.1" - sources."es-set-tostringtag-2.1.0" - sources."es-to-primitive-1.3.0" - sources."es6-promise-3.3.1" - sources."esbuild-0.25.1" - sources."escalade-3.2.0" - sources."esutils-2.0.3" - sources."event-target-shim-5.0.1" - sources."execa-5.1.1" - sources."fast-deep-equal-3.1.3" - sources."fast-glob-3.3.3" - sources."fast-memoize-2.5.2" - sources."fast-safe-stringify-2.1.1" - sources."fast-uri-3.0.6" - sources."fastq-1.19.1" - sources."fill-range-7.1.1" - sources."find-up-5.0.0" - sources."for-each-0.3.5" - sources."fs-extra-11.3.0" - sources."function-bind-1.1.2" - sources."function.prototype.name-1.1.8" - sources."functions-have-names-1.2.3" - sources."get-caller-file-2.0.5" - sources."get-intrinsic-1.3.0" - sources."get-proto-1.0.1" - sources."get-stream-6.0.1" - sources."get-symbol-description-1.1.0" - sources."glob-parent-5.1.2" - sources."globalthis-1.0.4" - sources."globby-11.1.0" - sources."gopd-1.2.0" - sources."graceful-fs-4.2.11" - sources."has-bigints-1.1.0" - sources."has-flag-4.0.0" - sources."has-property-descriptors-1.0.2" - sources."has-proto-1.2.0" - sources."has-symbols-1.1.0" - sources."has-tostringtag-1.0.2" - sources."hasown-2.0.2" - sources."http2-client-1.3.5" - sources."human-signals-2.1.0" - sources."iconv-lite-0.6.3" - sources."ignore-5.3.2" - sources."immer-9.0.21" - sources."internal-slot-1.1.0" - sources."is-array-buffer-3.0.5" - sources."is-async-function-2.1.1" - sources."is-bigint-1.1.0" - sources."is-boolean-object-1.2.2" - sources."is-callable-1.2.7" - sources."is-data-view-1.0.2" - sources."is-date-object-1.1.0" - sources."is-extglob-2.1.1" - sources."is-finalizationregistry-1.1.1" - sources."is-fullwidth-code-point-3.0.0" - sources."is-generator-function-1.1.0" - sources."is-glob-4.0.3" - 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-typed-array-1.1.15" - sources."is-weakmap-2.0.2" - sources."is-weakref-1.1.1" - sources."is-weakset-2.0.4" - sources."isarray-2.0.5" - sources."isexe-2.0.0" - sources."js-yaml-4.1.0" - sources."jsep-1.4.0" - sources."json-schema-traverse-1.0.0" - sources."jsonc-parser-2.2.1" - sources."jsonfile-6.1.0" - sources."jsonpath-plus-10.3.0" - sources."jsonpointer-5.0.1" - sources."jsonschema-1.5.0" - sources."leven-3.1.0" - sources."linkify-it-5.0.0" - sources."locate-path-6.0.0" - sources."lodash-4.17.21" - sources."lodash.isempty-4.4.0" - sources."lodash.omitby-4.6.0" - sources."lodash.topath-4.5.2" - sources."lodash.uniq-4.5.0" - sources."lodash.uniqby-4.7.0" - sources."lodash.uniqwith-4.5.0" - sources."loglevel-1.9.2" - sources."loglevel-plugin-prefix-0.8.4" - sources."lunr-2.3.9" - sources."markdown-it-14.1.0" - sources."math-intrinsics-1.1.0" - sources."mdurl-2.0.0" - sources."merge-stream-2.0.0" - sources."merge2-1.4.1" - sources."micromatch-4.0.8" - sources."mimic-fn-2.1.0" - ( - sources."minimatch-6.2.0" - // { - dependencies = [ - sources."brace-expansion-2.0.1" - ]; - } - ) - sources."ms-2.1.3" - sources."nimma-0.2.3" - sources."node-fetch-2.7.0" - sources."node-fetch-h2-2.3.0" - sources."node-readfiles-0.2.0" - sources."npm-run-path-4.0.1" - sources."oas-kit-common-1.0.8" - ( - sources."oas-linter-3.2.2" - // { - dependencies = [ - sources."yaml-1.10.2" - ]; - } - ) - ( - sources."oas-resolver-2.5.6" - // { - dependencies = [ - sources."yaml-1.10.2" - ]; - } - ) - sources."oas-schema-walker-1.1.5" - ( - sources."oas-validator-5.0.8" - // { - dependencies = [ - sources."yaml-1.10.2" - ]; - } - ) - sources."object-inspect-1.13.4" - sources."object-keys-1.1.1" - sources."object.assign-4.1.7" - sources."onetime-5.1.2" - sources."openapi-types-12.1.3" - sources."openapi3-ts-4.2.2" - sources."own-keys-1.0.1" - sources."p-limit-3.1.0" - sources."p-locate-5.0.0" - sources."path-exists-4.0.0" - sources."path-key-3.1.1" - sources."path-type-4.0.0" - sources."picomatch-2.3.1" - sources."pony-cause-1.1.1" - sources."possible-typed-array-names-1.1.0" - sources."punycode.js-2.3.1" - sources."queue-microtask-1.2.3" - sources."readdirp-4.1.2" - sources."reflect.getprototypeof-1.0.10" - sources."reftools-1.1.9" - sources."regexp.prototype.flags-1.5.4" - sources."require-directory-2.1.1" - sources."require-from-string-2.0.2" - sources."reusify-1.1.0" - sources."run-parallel-1.2.0" - sources."safe-array-concat-1.1.3" - sources."safe-push-apply-1.0.0" - sources."safe-regex-test-1.1.0" - sources."safe-stable-stringify-1.1.1" - sources."safer-buffer-2.1.2" - sources."set-function-length-1.2.2" - sources."set-function-name-2.0.2" - sources."set-proto-1.0.0" - sources."shebang-command-2.0.0" - sources."shebang-regex-3.0.0" - sources."should-13.2.3" - sources."should-equal-2.0.0" - sources."should-format-3.0.3" - sources."should-type-1.4.0" - sources."should-type-adaptors-1.1.0" - sources."should-util-1.0.1" - 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-eval-1.0.1" - sources."slash-3.0.0" - sources."string-argv-0.3.2" - sources."string-width-4.2.3" - sources."string.prototype.trim-1.2.10" - sources."string.prototype.trimend-1.0.9" - sources."string.prototype.trimstart-1.0.8" - sources."strip-ansi-6.0.1" - sources."strip-final-newline-2.0.0" - sources."supports-color-7.2.0" - ( - sources."swagger2openapi-7.0.8" - // { - dependencies = [ - sources."yaml-1.10.2" - ]; - } - ) - sources."to-regex-range-5.0.1" - sources."tr46-0.0.3" - sources."tsconfck-2.1.2" - sources."tslib-2.8.1" - sources."typed-array-buffer-1.0.3" - sources."typed-array-byte-length-1.0.3" - sources."typed-array-byte-offset-1.0.4" - sources."typed-array-length-1.0.7" - ( - sources."typedoc-0.27.9" - // { - dependencies = [ - sources."brace-expansion-2.0.1" - sources."minimatch-9.0.5" - ]; - } - ) - sources."typedoc-plugin-markdown-4.4.2" - sources."typescript-5.8.2" - sources."uc.micro-2.1.0" - sources."unbox-primitive-1.1.0" - sources."undici-types-6.20.0" - sources."universalify-2.0.1" - sources."urijs-1.19.11" - sources."utility-types-3.11.0" - 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-builtin-type-1.2.1" - sources."which-collection-1.0.2" - sources."which-typed-array-1.1.19" - sources."wrap-ansi-7.0.0" - sources."y18n-5.0.8" - sources."yaml-2.7.0" - sources."yargs-17.7.2" - sources."yargs-parser-21.1.1" - sources."yocto-queue-0.1.0" - ]; - buildInputs = globalBuildInputs; - meta = { - description = "A swagger client generator for typescript"; - homepage = "https://github.com/orval-labs/orval#readme"; - license = "MIT"; - }; - production = true; - bypassCache = true; - reconstructLock = true; - }; parsoid = nodeEnv.buildNodePackage { name = "parsoid"; packageName = "parsoid";