From 30f1543fe7db619eb7fa30440893cd24c9c3d174 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Robert=20Sch=C3=BCtz?= Date: Sun, 20 Aug 2023 19:45:40 -0700 Subject: [PATCH] yo: use buildNpmPackage --- pkgs/development/node-packages/aliases.nix | 1 + .../node-packages/node-packages.json | 1 - .../node-packages/node-packages.nix | 1036 ----------------- pkgs/development/tools/yo/default.nix | 28 + pkgs/top-level/all-packages.nix | 2 + 5 files changed, 31 insertions(+), 1037 deletions(-) create mode 100644 pkgs/development/tools/yo/default.nix diff --git a/pkgs/development/node-packages/aliases.nix b/pkgs/development/node-packages/aliases.nix index 40ab3f6ab0d71..7cfc92ccefb2c 100644 --- a/pkgs/development/node-packages/aliases.nix +++ b/pkgs/development/node-packages/aliases.nix @@ -74,5 +74,6 @@ mapAliases { typescript = pkgs.typescript; # Added 2023-06-21 vscode-langservers-extracted = pkgs.vscode-langservers-extracted; # Added 2023-05-27 vue-cli = self."@vue/cli"; # added 2023-08-18 + inherit (pkgs) yo; # added 2023-08-20 zx = pkgs.zx; # added 2023-08-01 } diff --git a/pkgs/development/node-packages/node-packages.json b/pkgs/development/node-packages/node-packages.json index 8458aef9904b7..7d7d037e522e9 100644 --- a/pkgs/development/node-packages/node-packages.json +++ b/pkgs/development/node-packages/node-packages.json @@ -373,6 +373,5 @@ , "yaml-language-server" , "yalc" , "yarn" -, "yo" , "@zwave-js/server" ] diff --git a/pkgs/development/node-packages/node-packages.nix b/pkgs/development/node-packages/node-packages.nix index 942d5b193a6e7..243d2da0d6702 100644 --- a/pkgs/development/node-packages/node-packages.nix +++ b/pkgs/development/node-packages/node-packages.nix @@ -142360,1042 +142360,6 @@ in bypassCache = true; reconstructLock = true; }; - yo = nodeEnv.buildNodePackage { - name = "yo"; - packageName = "yo"; - version = "4.3.1"; - src = fetchurl { - url = "https://registry.npmjs.org/yo/-/yo-4.3.1.tgz"; - sha512 = "KKp5WNPq0KdqfJY4W6HSiDG4DcgvmL4InWfkg5SVG9oYp+DTUUuc5ZmDw9VAvK0Z2J6XeEumDHcWh8NDhzrtOw=="; - }; - dependencies = [ - (sources."@babel/code-frame-7.22.10" // { - dependencies = [ - sources."ansi-styles-3.2.1" - sources."chalk-2.4.2" - sources."color-convert-1.9.3" - sources."color-name-1.1.3" - sources."has-flag-3.0.0" - sources."supports-color-5.5.0" - ]; - }) - sources."@babel/helper-validator-identifier-7.22.5" - (sources."@babel/highlight-7.22.10" // { - dependencies = [ - sources."ansi-styles-3.2.1" - sources."chalk-2.4.2" - sources."color-convert-1.9.3" - sources."color-name-1.1.3" - sources."has-flag-3.0.0" - sources."supports-color-5.5.0" - ]; - }) - sources."@babel/runtime-7.22.10" - sources."@gar/promisify-1.1.3" - sources."@isaacs/string-locale-compare-1.1.0" - sources."@nodelib/fs.scandir-2.1.5" - sources."@nodelib/fs.stat-2.0.5" - sources."@nodelib/fs.walk-1.2.8" - (sources."@npmcli/arborist-4.3.1" // { - dependencies = [ - sources."mkdirp-1.0.4" - sources."semver-7.5.4" - ]; - }) - (sources."@npmcli/fs-1.1.1" // { - dependencies = [ - sources."semver-7.5.4" - ]; - }) - (sources."@npmcli/git-2.1.0" // { - dependencies = [ - sources."mkdirp-1.0.4" - sources."semver-7.5.4" - ]; - }) - sources."@npmcli/installed-package-contents-1.0.7" - (sources."@npmcli/map-workspaces-2.0.4" // { - dependencies = [ - sources."minimatch-5.1.6" - ]; - }) - (sources."@npmcli/metavuln-calculator-2.0.0" // { - dependencies = [ - sources."semver-7.5.4" - ]; - }) - (sources."@npmcli/move-file-1.1.2" // { - dependencies = [ - sources."mkdirp-1.0.4" - ]; - }) - sources."@npmcli/name-from-folder-1.0.1" - sources."@npmcli/node-gyp-1.0.3" - sources."@npmcli/package-json-1.0.1" - sources."@npmcli/promise-spawn-1.3.2" - sources."@npmcli/run-script-2.0.0" - sources."@sindresorhus/is-0.7.0" - sources."@szmarczak/http-timer-1.1.2" - sources."@tootallnate/once-1.1.2" - sources."@types/cacheable-request-6.0.3" - sources."@types/expect-1.20.4" - sources."@types/http-cache-semantics-4.0.1" - sources."@types/keyv-3.1.4" - sources."@types/minimatch-3.0.5" - sources."@types/node-15.14.9" - sources."@types/normalize-package-data-2.4.1" - sources."@types/responselike-1.0.0" - sources."@types/vinyl-2.0.7" - sources."abbrev-1.1.1" - sources."abort-controller-3.0.0" - (sources."agent-base-6.0.2" // { - dependencies = [ - sources."debug-4.3.4" - sources."ms-2.1.2" - ]; - }) - sources."agentkeepalive-4.5.0" - sources."aggregate-error-3.1.0" - sources."ansi-0.3.1" - sources."ansi-align-3.0.1" - (sources."ansi-escapes-4.3.2" // { - dependencies = [ - sources."type-fest-0.21.3" - ]; - }) - sources."ansi-regex-5.0.1" - sources."ansi-styles-4.3.0" - sources."aproba-2.0.0" - sources."are-we-there-yet-1.1.7" - (sources."argparse-1.0.10" // { - dependencies = [ - sources."sprintf-js-1.0.3" - ]; - }) - sources."array-differ-3.0.0" - sources."array-find-index-1.0.2" - sources."array-union-2.1.0" - sources."arrify-2.0.1" - sources."asap-2.0.6" - sources."async-3.2.4" - sources."balanced-match-1.0.2" - sources."base64-js-1.5.1" - (sources."bin-links-3.0.3" // { - dependencies = [ - sources."npm-normalize-package-bin-2.0.0" - sources."write-file-atomic-4.0.2" - ]; - }) - sources."bin-version-3.1.0" - (sources."bin-version-check-4.0.0" // { - dependencies = [ - sources."semver-5.7.2" - ]; - }) - sources."binaryextensions-4.18.0" - (sources."bl-4.1.0" // { - dependencies = [ - sources."readable-stream-3.6.2" - ]; - }) - sources."boolean-3.2.0" - (sources."boxen-5.1.2" // { - dependencies = [ - sources."camelcase-6.3.0" - sources."type-fest-0.20.2" - sources."wrap-ansi-7.0.0" - ]; - }) - sources."brace-expansion-2.0.1" - sources."braces-3.0.2" - sources."buffer-5.7.1" - sources."buffer-from-1.1.2" - sources."builtins-1.0.3" - (sources."cacache-15.3.0" // { - dependencies = [ - sources."brace-expansion-1.1.11" - sources."glob-7.2.3" - sources."minimatch-3.1.2" - sources."mkdirp-1.0.4" - ]; - }) - sources."cacheable-lookup-5.0.4" - (sources."cacheable-request-2.1.4" // { - dependencies = [ - sources."get-stream-3.0.0" - sources."lowercase-keys-1.0.0" - ]; - }) - sources."camelcase-4.1.0" - sources."camelcase-keys-4.2.0" - sources."capture-stack-trace-1.0.2" - sources."chalk-4.1.2" - sources."char-regex-1.0.2" - sources."chardet-0.7.0" - sources."chownr-2.0.0" - sources."ci-info-2.0.0" - sources."clean-stack-2.2.0" - sources."cli-boxes-2.2.1" - sources."cli-cursor-3.1.0" - sources."cli-list-0.2.0" - sources."cli-spinners-2.9.0" - sources."cli-table-0.3.11" - sources."cli-width-3.0.0" - sources."clone-1.0.4" - sources."clone-buffer-1.0.0" - sources."clone-regexp-1.0.1" - sources."clone-response-1.0.2" - sources."clone-stats-1.0.0" - sources."cloneable-readable-1.1.3" - sources."cmd-shim-5.0.0" - sources."code-point-at-1.1.0" - sources."color-convert-2.0.1" - sources."color-name-1.1.4" - sources."color-support-1.1.3" - sources."colors-1.0.3" - sources."commander-7.1.0" - sources."common-ancestor-path-1.0.1" - sources."commondir-1.0.1" - sources."concat-map-0.0.1" - sources."concat-stream-1.6.2" - sources."config-chain-1.1.13" - sources."configstore-5.0.1" - sources."console-control-strings-1.1.0" - sources."core-js-3.32.0" - sources."core-util-is-1.0.3" - sources."create-error-class-3.0.2" - sources."cross-spawn-7.0.3" - sources."crypto-random-string-2.0.0" - sources."currently-unhandled-0.4.1" - sources."dateformat-4.6.3" - sources."debug-2.6.9" - sources."debuglog-1.0.1" - sources."decamelize-2.0.0" - (sources."decamelize-keys-1.1.1" // { - dependencies = [ - sources."decamelize-1.2.0" - sources."map-obj-1.0.1" - ]; - }) - sources."decode-uri-component-0.2.2" - sources."decompress-response-3.3.0" - sources."deep-extend-0.6.0" - sources."default-uid-1.0.0" - sources."defaults-1.0.4" - sources."defer-to-connect-1.1.3" - sources."define-lazy-prop-2.0.0" - sources."define-properties-1.2.0" - sources."delegates-1.0.0" - sources."detect-node-2.1.0" - sources."dezalgo-1.0.4" - sources."diff-5.1.0" - sources."dir-glob-3.0.1" - sources."dot-prop-5.3.0" - sources."downgrade-root-1.2.2" - sources."duplexer3-0.1.5" - sources."ejs-3.1.9" - sources."emoji-regex-8.0.0" - sources."encodeurl-1.0.2" - (sources."encoding-0.1.13" // { - dependencies = [ - sources."iconv-lite-0.6.3" - ]; - }) - sources."end-of-stream-1.4.4" - sources."env-paths-2.2.1" - sources."err-code-2.0.3" - sources."error-10.4.0" - sources."error-ex-1.3.2" - sources."es6-error-4.1.1" - sources."escape-goat-2.1.1" - sources."escape-string-regexp-1.0.5" - sources."esprima-4.0.1" - sources."event-target-shim-5.0.1" - sources."eventemitter3-4.0.7" - sources."events-3.3.0" - (sources."execa-1.0.0" // { - dependencies = [ - sources."cross-spawn-6.0.5" - sources."path-key-2.0.1" - sources."semver-5.7.2" - sources."shebang-command-1.2.0" - sources."shebang-regex-1.0.0" - sources."which-1.3.1" - ]; - }) - sources."execall-1.0.0" - sources."exit-hook-1.1.1" - sources."extend-3.0.2" - sources."external-editor-3.1.0" - sources."fast-glob-3.3.1" - sources."fastq-1.15.0" - sources."figures-3.2.0" - (sources."filelist-1.0.4" // { - dependencies = [ - sources."minimatch-5.1.6" - ]; - }) - sources."fill-range-7.0.1" - sources."filter-obj-2.0.2" - sources."find-up-2.1.0" - sources."find-versions-3.2.0" - sources."find-yarn-workspace-root2-1.2.16" - sources."first-chunk-stream-2.0.0" - sources."foreachasync-3.0.0" - sources."from2-2.3.0" - sources."fs-minipass-2.1.0" - sources."fs.realpath-1.0.0" - sources."fullname-4.0.1" - sources."function-bind-1.1.1" - sources."gauge-1.2.7" - sources."get-intrinsic-1.2.1" - sources."get-stdin-4.0.1" - sources."get-stream-4.1.0" - (sources."glob-8.1.0" // { - dependencies = [ - sources."minimatch-5.1.6" - ]; - }) - sources."glob-parent-5.1.2" - (sources."global-agent-3.0.0" // { - dependencies = [ - sources."semver-7.5.4" - ]; - }) - (sources."global-dirs-3.0.1" // { - dependencies = [ - sources."ini-2.0.0" - ]; - }) - sources."global-tunnel-ng-2.7.1" - sources."globalthis-1.0.3" - sources."globby-11.1.0" - (sources."got-8.3.2" // { - dependencies = [ - sources."get-stream-3.0.0" - sources."p-cancelable-0.4.1" - ]; - }) - sources."graceful-fs-4.2.11" - sources."grouped-queue-2.0.0" - sources."has-1.0.3" - (sources."has-ansi-2.0.0" // { - dependencies = [ - sources."ansi-regex-2.1.1" - ]; - }) - sources."has-flag-4.0.0" - sources."has-property-descriptors-1.0.0" - sources."has-proto-1.0.1" - sources."has-symbol-support-x-1.4.2" - sources."has-symbols-1.0.3" - sources."has-to-string-tag-x-1.4.1" - sources."has-unicode-2.0.1" - sources."has-yarn-2.1.0" - sources."hosted-git-info-2.8.9" - sources."http-cache-semantics-3.8.1" - (sources."http-proxy-agent-4.0.1" // { - dependencies = [ - sources."debug-4.3.4" - sources."ms-2.1.2" - ]; - }) - (sources."http2-wrapper-1.0.3" // { - dependencies = [ - sources."quick-lru-5.1.1" - ]; - }) - (sources."https-proxy-agent-5.0.1" // { - dependencies = [ - sources."debug-4.3.4" - sources."ms-2.1.2" - ]; - }) - sources."human-signals-2.1.0" - sources."humanize-ms-1.2.1" - sources."humanize-string-2.1.0" - sources."iconv-lite-0.4.24" - sources."ieee754-1.2.1" - sources."ignore-5.2.4" - (sources."ignore-walk-4.0.1" // { - dependencies = [ - sources."brace-expansion-1.1.11" - sources."minimatch-3.1.2" - ]; - }) - sources."import-lazy-2.1.0" - sources."imurmurhash-0.1.4" - sources."indent-string-4.0.0" - sources."infer-owner-1.0.4" - sources."inflight-1.0.6" - sources."inherits-2.0.4" - sources."ini-1.3.8" - sources."inquirer-8.2.6" - (sources."into-stream-3.1.0" // { - dependencies = [ - sources."p-is-promise-1.1.0" - ]; - }) - sources."ip-2.0.0" - sources."is-arrayish-0.2.1" - sources."is-ci-2.0.0" - sources."is-core-module-2.13.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-installed-globally-0.4.0" - sources."is-interactive-1.0.0" - sources."is-lambda-1.0.1" - sources."is-npm-5.0.0" - sources."is-number-7.0.0" - sources."is-obj-2.0.0" - sources."is-object-1.0.2" - sources."is-path-inside-3.0.3" - sources."is-plain-obj-1.1.0" - sources."is-redirect-1.0.0" - sources."is-regexp-1.0.0" - sources."is-retry-allowed-1.2.0" - sources."is-root-1.0.0" - sources."is-scoped-2.1.0" - sources."is-stream-1.1.0" - sources."is-supported-regexp-flag-1.0.1" - sources."is-typedarray-1.0.0" - sources."is-unicode-supported-0.1.0" - sources."is-utf8-0.2.1" - sources."is-wsl-2.2.0" - sources."is-yarn-global-0.3.0" - sources."isarray-1.0.0" - sources."isbinaryfile-5.0.0" - sources."isexe-2.0.0" - sources."isurl-1.0.0" - (sources."jake-10.8.7" // { - dependencies = [ - sources."brace-expansion-1.1.11" - sources."minimatch-3.1.2" - ]; - }) - sources."js-tokens-4.0.0" - sources."js-yaml-3.14.1" - sources."json-buffer-3.0.0" - sources."json-parse-better-errors-1.0.2" - sources."json-parse-even-better-errors-2.3.1" - sources."json-stringify-nice-1.1.4" - sources."json-stringify-safe-5.0.1" - sources."jsonparse-1.3.1" - sources."just-diff-5.2.0" - sources."just-diff-apply-5.5.0" - sources."keyv-3.0.0" - (sources."latest-version-5.1.0" // { - dependencies = [ - sources."@sindresorhus/is-0.14.0" - sources."cacheable-request-6.1.0" - sources."get-stream-5.2.0" - sources."got-9.6.0" - sources."http-cache-semantics-4.1.1" - sources."lowercase-keys-2.0.0" - sources."normalize-url-4.5.1" - sources."p-cancelable-1.1.0" - sources."package-json-6.5.0" - ]; - }) - sources."lines-and-columns-1.2.4" - (sources."load-json-file-4.0.0" // { - dependencies = [ - sources."strip-bom-3.0.0" - ]; - }) - (sources."load-yaml-file-0.2.0" // { - dependencies = [ - sources."pify-4.0.1" - sources."strip-bom-3.0.0" - ]; - }) - sources."locate-path-2.0.0" - sources."locutus-2.0.16" - sources."lodash-4.17.21" - sources."lodash.pad-4.5.1" - sources."lodash.padend-4.6.1" - sources."lodash.padstart-4.6.1" - sources."log-symbols-4.1.0" - sources."loud-rejection-1.6.0" - sources."lowercase-keys-1.0.1" - sources."lru-cache-6.0.0" - sources."make-dir-3.1.0" - (sources."make-fetch-happen-9.1.0" // { - dependencies = [ - sources."http-cache-semantics-4.1.1" - ]; - }) - sources."map-age-cleaner-0.1.3" - sources."map-obj-2.0.0" - (sources."matcher-3.0.0" // { - dependencies = [ - sources."escape-string-regexp-4.0.0" - ]; - }) - sources."mem-5.1.1" - sources."mem-fs-2.3.0" - sources."mem-fs-editor-9.7.0" - (sources."meow-5.0.0" // { - dependencies = [ - sources."read-pkg-up-3.0.0" - ]; - }) - sources."merge-stream-2.0.0" - sources."merge2-1.4.1" - sources."micromatch-4.0.5" - sources."mimic-fn-2.1.0" - sources."mimic-response-1.0.1" - sources."minimatch-7.4.6" - sources."minimist-1.2.8" - (sources."minimist-options-3.0.2" // { - dependencies = [ - sources."arrify-1.0.1" - ]; - }) - sources."minipass-3.3.6" - sources."minipass-collect-1.0.2" - sources."minipass-fetch-1.4.1" - sources."minipass-flush-1.0.5" - sources."minipass-json-stream-1.0.1" - sources."minipass-pipeline-1.2.4" - sources."minipass-sized-1.0.3" - sources."minizlib-2.1.2" - sources."mkdirp-0.5.6" - (sources."mkdirp-infer-owner-2.0.0" // { - dependencies = [ - sources."mkdirp-1.0.4" - ]; - }) - sources."ms-2.0.0" - (sources."multimatch-5.0.0" // { - dependencies = [ - sources."brace-expansion-1.1.11" - sources."minimatch-3.1.2" - ]; - }) - sources."mute-stream-0.0.8" - sources."negotiator-0.6.3" - sources."nice-try-1.0.5" - (sources."node-gyp-8.4.1" // { - dependencies = [ - sources."are-we-there-yet-3.0.1" - sources."brace-expansion-1.1.11" - sources."gauge-4.0.4" - sources."glob-7.2.3" - sources."minimatch-3.1.2" - sources."npmlog-6.0.2" - sources."readable-stream-3.6.2" - sources."semver-7.5.4" - ]; - }) - sources."nopt-5.0.0" - (sources."normalize-package-data-2.5.0" // { - dependencies = [ - sources."semver-5.7.2" - ]; - }) - sources."normalize-path-3.0.0" - sources."normalize-url-2.0.1" - sources."npm-bundled-1.1.2" - sources."npm-conf-1.1.3" - (sources."npm-install-checks-4.0.0" // { - dependencies = [ - sources."semver-7.5.4" - ]; - }) - (sources."npm-keyword-6.1.0" // { - dependencies = [ - sources."@sindresorhus/is-0.14.0" - sources."cacheable-request-6.1.0" - sources."get-stream-5.2.0" - sources."got-9.6.0" - sources."http-cache-semantics-4.1.1" - sources."lowercase-keys-2.0.0" - sources."normalize-url-4.5.1" - sources."p-cancelable-1.1.0" - ]; - }) - sources."npm-normalize-package-bin-1.0.1" - (sources."npm-package-arg-8.1.5" // { - dependencies = [ - sources."hosted-git-info-4.1.0" - sources."semver-7.5.4" - ]; - }) - (sources."npm-packlist-3.0.0" // { - dependencies = [ - sources."brace-expansion-1.1.11" - sources."glob-7.2.3" - sources."minimatch-3.1.2" - ]; - }) - (sources."npm-pick-manifest-6.1.1" // { - dependencies = [ - sources."semver-7.5.4" - ]; - }) - (sources."npm-registry-fetch-12.0.2" // { - dependencies = [ - sources."@npmcli/fs-2.1.2" - sources."@npmcli/move-file-2.0.1" - sources."@tootallnate/once-2.0.0" - sources."cacache-16.1.3" - sources."debug-4.3.4" - sources."http-cache-semantics-4.1.1" - sources."http-proxy-agent-5.0.0" - sources."lru-cache-7.18.3" - (sources."make-fetch-happen-10.2.1" // { - dependencies = [ - sources."minipass-fetch-2.1.2" - ]; - }) - sources."mkdirp-1.0.4" - sources."ms-2.1.2" - (sources."semver-7.5.4" // { - dependencies = [ - sources."lru-cache-6.0.0" - ]; - }) - sources."socks-proxy-agent-7.0.0" - sources."ssri-9.0.1" - sources."unique-filename-2.0.1" - sources."unique-slug-3.0.0" - ]; - }) - (sources."npm-run-path-2.0.2" // { - dependencies = [ - sources."path-key-2.0.1" - ]; - }) - sources."npmlog-2.0.4" - sources."number-is-nan-1.0.1" - sources."object-assign-4.1.1" - sources."object-keys-1.1.1" - sources."once-1.4.0" - sources."onetime-5.1.2" - sources."open-8.4.2" - sources."ora-5.4.1" - sources."os-homedir-1.0.2" - sources."os-shim-0.1.3" - sources."os-tmpdir-1.0.2" - sources."p-any-2.1.0" - sources."p-cancelable-2.1.1" - sources."p-defer-1.0.0" - sources."p-finally-1.0.0" - sources."p-is-promise-2.1.0" - sources."p-limit-1.3.0" - sources."p-locate-2.0.0" - sources."p-map-4.0.0" - (sources."p-queue-6.6.2" // { - dependencies = [ - sources."p-timeout-3.2.0" - ]; - }) - sources."p-some-4.1.0" - sources."p-timeout-2.0.1" - (sources."p-transform-1.3.0" // { - dependencies = [ - sources."debug-4.3.4" - sources."ms-2.1.2" - ]; - }) - sources."p-try-1.0.0" - (sources."package-json-7.0.0" // { - dependencies = [ - sources."@sindresorhus/is-4.6.0" - sources."@szmarczak/http-timer-4.0.6" - sources."cacheable-request-7.0.4" - sources."decompress-response-6.0.0" - sources."defer-to-connect-2.0.1" - sources."get-stream-5.2.0" - sources."got-11.8.6" - sources."http-cache-semantics-4.1.1" - sources."json-buffer-3.0.1" - sources."keyv-4.5.3" - sources."lowercase-keys-2.0.0" - sources."mimic-response-3.1.0" - sources."normalize-url-6.1.0" - sources."responselike-2.0.1" - sources."semver-7.5.4" - ]; - }) - (sources."pacote-12.0.3" // { - dependencies = [ - sources."mkdirp-1.0.4" - ]; - }) - sources."pad-component-0.0.1" - sources."parse-conflict-json-2.0.2" - sources."parse-help-1.0.0" - sources."parse-json-4.0.0" - sources."passwd-user-3.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-type-4.0.0" - sources."picomatch-2.3.1" - sources."pify-3.0.0" - sources."pinkie-2.0.4" - sources."pinkie-promise-2.0.1" - (sources."pkg-dir-4.2.0" // { - dependencies = [ - sources."find-up-4.1.0" - sources."locate-path-5.0.0" - sources."p-limit-2.3.0" - sources."p-locate-4.1.0" - sources."p-try-2.2.0" - sources."path-exists-4.0.0" - ]; - }) - (sources."preferred-pm-3.0.3" // { - dependencies = [ - sources."find-up-5.0.0" - sources."locate-path-6.0.0" - sources."p-limit-3.1.0" - sources."p-locate-5.0.0" - sources."path-exists-4.0.0" - ]; - }) - sources."prepend-http-2.0.0" - sources."pretty-bytes-5.6.0" - sources."proc-log-1.0.0" - sources."process-0.11.10" - sources."process-nextick-args-2.0.1" - sources."promise-all-reject-late-1.0.1" - sources."promise-call-limit-1.0.2" - sources."promise-inflight-1.0.1" - sources."promise-retry-2.0.1" - sources."proto-list-1.2.4" - sources."pump-3.0.0" - sources."pupa-2.1.1" - sources."query-string-5.1.1" - sources."queue-microtask-1.2.3" - sources."quick-lru-1.1.0" - sources."rc-1.2.8" - sources."read-cmd-shim-3.0.1" - sources."read-package-json-fast-2.0.3" - (sources."read-pkg-3.0.0" // { - dependencies = [ - sources."path-type-3.0.0" - ]; - }) - (sources."read-pkg-up-7.0.1" // { - dependencies = [ - sources."find-up-4.1.0" - sources."locate-path-5.0.0" - sources."p-limit-2.3.0" - sources."p-locate-4.1.0" - sources."p-try-2.2.0" - sources."parse-json-5.2.0" - sources."path-exists-4.0.0" - (sources."read-pkg-5.2.0" // { - dependencies = [ - sources."type-fest-0.6.0" - ]; - }) - sources."type-fest-0.8.1" - ]; - }) - (sources."readable-stream-2.3.8" // { - dependencies = [ - sources."safe-buffer-5.1.2" - ]; - }) - sources."readdir-scoped-modules-1.1.0" - (sources."redent-2.0.0" // { - dependencies = [ - sources."indent-string-3.2.0" - ]; - }) - sources."regenerator-runtime-0.14.0" - sources."registry-auth-token-4.2.2" - sources."registry-url-5.1.0" - sources."remove-trailing-separator-1.1.0" - sources."replace-ext-1.0.1" - sources."resolve-1.22.4" - sources."resolve-alpn-1.2.1" - sources."responselike-1.0.2" - sources."restore-cursor-3.1.0" - sources."retry-0.12.0" - sources."reusify-1.0.4" - (sources."rimraf-3.0.2" // { - dependencies = [ - sources."brace-expansion-1.1.11" - sources."glob-7.2.3" - sources."minimatch-3.1.2" - ]; - }) - sources."roarr-2.15.4" - sources."root-check-1.0.0" - sources."run-async-2.4.1" - sources."run-parallel-1.2.0" - sources."rx-4.1.0" - sources."rxjs-7.8.1" - sources."safe-buffer-5.2.1" - sources."safer-buffer-2.1.2" - sources."scoped-regex-2.1.0" - sources."semver-6.3.1" - sources."semver-compare-1.0.0" - sources."semver-diff-3.1.1" - sources."semver-regex-2.0.0" - (sources."semver-truncate-1.1.2" // { - dependencies = [ - sources."semver-5.7.2" - ]; - }) - (sources."serialize-error-7.0.1" // { - dependencies = [ - sources."type-fest-0.13.1" - ]; - }) - sources."set-blocking-2.0.0" - sources."shebang-command-2.0.0" - sources."shebang-regex-3.0.0" - sources."signal-exit-3.0.7" - sources."slash-3.0.0" - sources."smart-buffer-4.2.0" - sources."socks-2.7.1" - (sources."socks-proxy-agent-6.2.1" // { - dependencies = [ - sources."debug-4.3.4" - sources."ms-2.1.2" - ]; - }) - sources."sort-keys-2.0.0" - sources."sort-on-4.1.1" - sources."spawn-sync-1.0.15" - sources."spdx-correct-3.2.0" - sources."spdx-exceptions-2.3.0" - sources."spdx-expression-parse-3.0.1" - sources."spdx-license-ids-3.0.13" - sources."sprintf-js-1.1.2" - sources."ssri-8.0.1" - sources."strict-uri-encode-1.1.0" - sources."string-length-4.0.2" - sources."string-width-4.2.3" - (sources."string_decoder-1.1.1" // { - dependencies = [ - sources."safe-buffer-5.1.2" - ]; - }) - sources."strip-ansi-6.0.1" - sources."strip-bom-2.0.0" - sources."strip-bom-buf-1.0.0" - sources."strip-bom-stream-2.0.0" - sources."strip-eof-1.0.0" - sources."strip-final-newline-2.0.0" - sources."strip-indent-2.0.0" - sources."strip-json-comments-2.0.1" - (sources."sudo-block-1.2.0" // { - dependencies = [ - sources."ansi-regex-2.1.1" - sources."ansi-styles-2.2.1" - sources."chalk-1.1.3" - sources."is-docker-1.1.0" - sources."strip-ansi-3.0.1" - sources."supports-color-2.0.0" - ]; - }) - sources."supports-color-7.2.0" - sources."supports-preserve-symlinks-flag-1.0.0" - (sources."tabtab-1.3.2" // { - dependencies = [ - sources."ansi-escapes-1.4.0" - sources."ansi-regex-2.1.1" - sources."ansi-styles-2.2.1" - sources."chalk-1.1.3" - sources."cli-cursor-1.0.2" - sources."cli-width-2.2.1" - sources."external-editor-1.1.1" - sources."figures-1.7.0" - sources."inquirer-1.2.3" - sources."is-fullwidth-code-point-1.0.0" - sources."mute-stream-0.0.6" - sources."onetime-1.1.0" - sources."restore-cursor-1.0.1" - sources."string-width-1.0.2" - sources."strip-ansi-3.0.1" - sources."supports-color-2.0.0" - sources."tmp-0.0.29" - ]; - }) - sources."taketalk-1.0.0" - (sources."tar-6.1.15" // { - dependencies = [ - sources."minipass-5.0.0" - sources."mkdirp-1.0.4" - ]; - }) - sources."text-table-0.2.0" - sources."textextensions-5.16.0" - sources."through-2.3.8" - sources."timed-out-4.0.1" - sources."titleize-2.1.0" - sources."tmp-0.0.33" - sources."to-readable-stream-1.0.0" - sources."to-regex-range-5.0.1" - sources."treeverse-1.0.4" - sources."trim-newlines-2.0.0" - sources."tslib-2.6.1" - sources."tunnel-0.0.6" - (sources."twig-1.16.0" // { - dependencies = [ - sources."brace-expansion-1.1.11" - sources."minimatch-3.0.8" - ]; - }) - sources."type-fest-0.3.1" - sources."typedarray-0.0.6" - sources."typedarray-to-buffer-3.1.5" - sources."unique-filename-1.1.1" - sources."unique-slug-2.0.2" - sources."unique-string-2.0.0" - sources."untildify-4.0.0" - sources."unzip-response-2.0.1" - (sources."update-notifier-5.1.0" // { - dependencies = [ - sources."semver-7.5.4" - ]; - }) - sources."url-parse-lax-3.0.0" - sources."url-to-options-1.0.1" - sources."user-home-2.0.0" - sources."util-deprecate-1.0.2" - sources."validate-npm-package-license-3.0.4" - sources."validate-npm-package-name-3.0.0" - (sources."vinyl-2.2.1" // { - dependencies = [ - sources."clone-2.1.2" - ]; - }) - (sources."vinyl-file-3.0.0" // { - dependencies = [ - sources."pify-2.3.0" - ]; - }) - sources."walk-2.3.15" - sources."walk-up-path-1.0.0" - sources."wcwidth-1.0.1" - sources."which-2.0.2" - (sources."which-pm-2.0.0" // { - dependencies = [ - sources."path-exists-4.0.0" - ]; - }) - sources."wide-align-1.1.5" - sources."widest-line-3.1.0" - sources."wrap-ansi-6.2.0" - sources."wrappy-1.0.2" - sources."write-file-atomic-3.0.3" - sources."xdg-basedir-4.0.0" - sources."xregexp-4.0.0" - sources."yallist-4.0.0" - sources."yargs-parser-10.1.0" - (sources."yeoman-character-1.1.0" // { - dependencies = [ - sources."has-flag-1.0.0" - sources."supports-color-3.2.3" - ]; - }) - (sources."yeoman-doctor-5.0.0" // { - dependencies = [ - sources."ansi-styles-3.2.1" - sources."chalk-2.4.2" - sources."color-convert-1.9.3" - sources."color-name-1.1.3" - sources."get-stream-3.0.0" - (sources."global-agent-2.2.0" // { - dependencies = [ - sources."semver-7.5.4" - ]; - }) - sources."got-6.7.1" - sources."has-flag-3.0.0" - sources."latest-version-3.1.0" - sources."log-symbols-2.2.0" - sources."package-json-4.0.1" - sources."prepend-http-1.0.4" - sources."registry-auth-token-3.4.0" - sources."registry-url-3.1.0" - sources."semver-5.7.2" - sources."supports-color-5.5.0" - sources."url-parse-lax-1.0.0" - ]; - }) - (sources."yeoman-environment-3.19.3" // { - dependencies = [ - (sources."are-we-there-yet-2.0.0" // { - dependencies = [ - sources."readable-stream-3.6.2" - ]; - }) - sources."brace-expansion-1.1.11" - sources."buffer-6.0.3" - sources."debug-4.3.4" - sources."escape-string-regexp-4.0.0" - sources."execa-5.1.1" - sources."find-up-5.0.0" - sources."gauge-3.0.2" - sources."get-stream-6.0.1" - sources."is-stream-2.0.1" - sources."isbinaryfile-4.0.10" - sources."locate-path-6.0.0" - sources."minimatch-3.1.2" - sources."ms-2.1.2" - sources."npm-run-path-4.0.1" - sources."npmlog-5.0.1" - sources."p-limit-3.1.0" - sources."p-locate-5.0.0" - sources."path-exists-4.0.0" - sources."readable-stream-4.4.2" - sources."semver-7.5.4" - sources."string_decoder-1.3.0" - ]; - }) - sources."yocto-queue-0.1.0" - (sources."yosay-2.0.2" // { - dependencies = [ - sources."ansi-regex-2.1.1" - sources."ansi-styles-3.2.1" - (sources."chalk-1.1.3" // { - dependencies = [ - sources."ansi-styles-2.2.1" - ]; - }) - sources."cli-boxes-1.0.0" - sources."color-convert-1.9.3" - sources."color-name-1.1.3" - sources."is-fullwidth-code-point-2.0.0" - (sources."string-width-2.1.1" // { - dependencies = [ - sources."ansi-regex-3.0.1" - sources."strip-ansi-4.0.0" - ]; - }) - sources."strip-ansi-3.0.1" - sources."supports-color-2.0.0" - (sources."wrap-ansi-2.1.0" // { - dependencies = [ - sources."is-fullwidth-code-point-1.0.0" - sources."string-width-1.0.2" - ]; - }) - ]; - }) - ]; - buildInputs = globalBuildInputs; - meta = { - description = "CLI tool for running Yeoman generators"; - homepage = "http://yeoman.io"; - license = "BSD-2-Clause"; - }; - production = true; - bypassCache = true; - reconstructLock = true; - }; "@zwave-js/server" = nodeEnv.buildNodePackage { name = "_at_zwave-js_slash_server"; packageName = "@zwave-js/server"; diff --git a/pkgs/development/tools/yo/default.nix b/pkgs/development/tools/yo/default.nix new file mode 100644 index 0000000000000..325939a7609b0 --- /dev/null +++ b/pkgs/development/tools/yo/default.nix @@ -0,0 +1,28 @@ +{ lib +, buildNpmPackage +, fetchFromGitHub +}: + +buildNpmPackage rec { + pname = "yo"; + version = "4.3.1"; + + src = fetchFromGitHub { + owner = "yeoman"; + repo = "yo"; + rev = "v${version}"; + hash = "sha256-vnvcg3hvAYcqS11enBEHtpTwTOy4puY5i/6zPOHCywo="; + }; + + npmDepsHash = "sha256-QkEPaepvI6NfEEmqnVA4Xx/tByn6goyGWVpoJNMigd8="; + + dontNpmBuild = true; + + meta = { + description = "CLI tool for running Yeoman generators"; + homepage = "https://github.com/yeoman/yo"; + license = lib.licenses.bsd2; + mainProgram = "yo"; + maintainers = with lib.maintainers; [ ]; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 260974f0e50b3..5ed95ffdf4a73 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -20415,6 +20415,8 @@ with pkgs; python = python3; }; + yo = callPackage ../development/tools/yo { }; + yodl = callPackage ../development/tools/misc/yodl { }; yq = python3.pkgs.toPythonApplication python3.pkgs.yq;